diff options
author | José Fonseca <jfonseca@vmware.com> | 2011-03-13 19:24:26 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-03-13 19:24:26 +0000 |
commit | e6314db0ac537695a20feb5fab8d77a30836eccf (patch) | |
tree | 331b6776b739823a54a3d6ddde249d6881c95f7c /src/gallium/auxiliary/gallivm/lp_bld_debug.h | |
parent | d2332569d2be9ace850b8d6b80abe4c597968773 (diff) |
gallivm: Use LLVM MC disassembler, instead of udis86.
Included in LLVM 2.7+. Unlink udis86, should support all instructions that
LLVM can emit.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_debug.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_debug.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.h b/src/gallium/auxiliary/gallivm/lp_bld_debug.h index 8a58f95b78..da873f30b2 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.h @@ -45,6 +45,11 @@ #define GALLIVM_DEBUG_GC (1 << 6) +#ifdef __cplusplus +extern "C" { +#endif + + #ifdef DEBUG extern unsigned gallivm_debug; #else @@ -81,4 +86,9 @@ void lp_disassemble(const void* func); +#ifdef __cplusplus +} +#endif + + #endif /* !LP_BLD_DEBUG_H */ |