commit | 0feae424692b07197998bd7a451d8da44fd0ac9a | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Tue Oct 06 18:37:31 2009 +0000 |
committer | Devang Patel <dpatel@apple.com> | Tue Oct 06 18:37:31 2009 +0000 |
tree | fb978c66a7569549d7d345d19272ecb75cfad17b | |
parent | 4c45a0c48614b2387855cee4f1e3f99013344ecf [diff] |
Add support to handle debug info attached to an instruction. This is not yet enabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83400 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index 0bec2cf..bccff16 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -425,7 +425,9 @@ if (AllocaLocation) MMI->setVariableDbgInfo(DI->getVariable(), AllocaLocation, FI); } +#ifndef ATTACH_DEBUG_INFO_TO_AN_INSN DW->RecordVariable(DI->getVariable(), FI); +#endif return true; } case Intrinsic::eh_exception: {