projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5920f18
)
Initialize only native LLVM Disassembler.
author
ojab
<ojab@ojab.ru>
Tue, 31 Jan 2012 07:43:37 +0000
(11:43 +0400)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 31 Jan 2012 08:11:24 +0000
(08:11 +0000)
Signed-off-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index a50a51d7d26b819869ca654de925ea2b5865c141..33881adf18b3c7354d433f6f33c6269dce58ada7 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@
-203,7
+203,11
@@
lp_disassemble(const void* func)
InitializeAllAsmPrinters();
#endif
- InitializeAllDisassemblers();
+#if LLVM_NATIVE_ARCH == X86
+ LLVMInitializeX86Disassembler();
+#elif LLVM_NATIVE_ARCH == ARM
+ LLVMInitializeARMDisassembler();
+#endif
#if HAVE_LLVM >= 0x0300
OwningPtr<const MCAsmInfo> AsmInfo(T->createMCAsmInfo(Triple));