diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-11-13 21:56:09 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2009-11-13 21:56:09 +0000 |
commit | ce727d0da006ca59bbd8c9ddc86e2fa71217d293 (patch) | |
tree | 7deefb2b613a66717abcd2903c65c4bc5ae0efa6 /include/llvm | |
parent | 52cd548525089056ac5be97e2b8eb05257bcdf3b (diff) | |
download | external_llvm-ce727d0da006ca59bbd8c9ddc86e2fa71217d293.zip external_llvm-ce727d0da006ca59bbd8c9ddc86e2fa71217d293.tar.gz external_llvm-ce727d0da006ca59bbd8c9ddc86e2fa71217d293.tar.bz2 |
Add MachineFunction::verify() to call the machine code verifier directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88706 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index e836e2e..d05d994 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -232,6 +232,10 @@ public: /// void dump() const; + /// verify - Run the current MachineFunction through the machine code + /// verifier, useful for debugger use. + void verify() const; + // Provide accessors for the MachineBasicBlock list... typedef BasicBlockListType::iterator iterator; typedef BasicBlockListType::const_iterator const_iterator; |