Mesa (7.11): gallivm: Rename createAsmInfo to createMCAsmInfo with llvm-3.0 .
Brian Paul
brianp at kemper.freedesktop.org
Mon Dec 5 16:02:59 UTC 2011
Module: Mesa
Branch: 7.11
Commit: 970df845ef89a1abe5da3659b43c33df9807f8cd
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=970df845ef89a1abe5da3659b43c33df9807f8cd
Author: Vinson Lee <vlee at vmware.com>
Date: Sat Jul 16 00:16:25 2011 -0700
gallivm: Rename createAsmInfo to createMCAsmInfo with llvm-3.0.
llvm-3.0svn r135219 renamed createAsmInfo to createMCAsmInfo in
include/llvm/Target/TargetRegistry.h.
(cherry picked from commit 9228bfb37519e4a03183ec89e82a80f39addeeeb)
---
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index 29dfb86..e252607 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@ -193,7 +193,11 @@ lp_disassemble(const void* func)
InitializeAllDisassemblers();
+#if HAVE_LLVM >= 0x0300
+ OwningPtr<const MCAsmInfo> AsmInfo(T->createMCAsmInfo(Triple));
+#else
OwningPtr<const MCAsmInfo> AsmInfo(T->createAsmInfo(Triple));
+#endif
if (!AsmInfo) {
debug_printf("error: no assembly info for target %s\n", Triple.c_str());
More information about the mesa-commit
mailing list