diff options
author | Devang Patel <dpatel@apple.com> | 2010-03-15 18:33:46 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-03-15 18:33:46 +0000 |
commit | 90a48adf9cbea48f5318a5eb778056b4413e2ec0 (patch) | |
tree | 49b14c866f7fac394474ed7ae50012c7626d9839 /lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | fc6e69bcb2c8b9157164adfaa0c86115e7356cd0 (diff) |
Emit dwarf variable info communicated by code generator through DBG_VALUE machine instructions.
This is a work in progress.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98556 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index d1f5afb7fd..63b05365d1 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -1309,6 +1309,8 @@ void AsmPrinter::processDebugLoc(const MachineInstr *MI, if (!MAI || !DW || !MAI->doesSupportDebugInformation() || !DW->ShouldEmitDwarfDebug()) return; + if (MI->getOpcode() == TargetOpcode::DBG_VALUE) + return; DebugLoc DL = MI->getDebugLoc(); if (DL.isUnknown()) return; |