summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-05-20 21:54:18 +0000
committerBill Wendling <isanbard@gmail.com>2013-05-20 21:54:18 +0000
commit3b1040c703c5e76b85b4431f4c84ccc4aa9f8508 (patch)
tree0b78ad5ddc040955dddafdea4a913d061191b345 /include
parent07418cde47c328f382144acd1972fabcf1529d11 (diff)
downloadllvm-3b1040c703c5e76b85b4431f4c84ccc4aa9f8508.tar.gz
llvm-3b1040c703c5e76b85b4431f4c84ccc4aa9f8508.tar.bz2
llvm-3b1040c703c5e76b85b4431f4c84ccc4aa9f8508.tar.xz
The DWARF EH pass doesn't need the TargetMachine, only the TargetLoweringBase like the other EH passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/Passes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h
index b02f63e70b..7ec90ae55e 100644
--- a/include/llvm/CodeGen/Passes.h
+++ b/include/llvm/CodeGen/Passes.h
@@ -527,7 +527,7 @@ namespace llvm {
/// createDwarfEHPass - This pass mulches exception handling code into a form
/// adapted to code generation. Required if using dwarf exception handling.
- FunctionPass *createDwarfEHPass(const TargetMachine *tm);
+ FunctionPass *createDwarfEHPass(const TargetLoweringBase *tli);
/// createSjLjEHPreparePass - This pass adapts exception handling code to use
/// the GCC-style builtin setjmp/longjmp (sjlj) to handling EH control flow.