[llvm-commits] CVS: llvm/include/llvm/System/Disassembler.h
Anton Korobeynikov
asl at math.spbu.ru
Mon Mar 5 21:33:09 PST 2007
Changes in directory llvm/include/llvm/System:
Disassembler.h updated: 1.1 -> 1.2
---
Log message:
Implement PR1240: http://llvm.org/PR1240
---
Diffs of the changes: (+4 -0)
Disassembler.h | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/include/llvm/System/Disassembler.h
diff -u llvm/include/llvm/System/Disassembler.h:1.1 llvm/include/llvm/System/Disassembler.h:1.2
--- llvm/include/llvm/System/Disassembler.h:1.1 Tue Jan 23 04:26:08 2007
+++ llvm/include/llvm/System/Disassembler.h Mon Mar 5 23:32:48 2007
@@ -21,6 +21,10 @@
namespace llvm {
namespace sys {
+/// This function returns true, if there is possible to use some external
+/// disassembler library. False otherwise.
+bool hasDisassembler(void);
+
/// This function provides some "glue" code to call external disassembler
/// libraries.
std::string disassembleBuffer(uint8_t* start, size_t length, uint64_t pc = 0);
More information about the llvm-commits
mailing list