diff options
| author | Devang Patel <dpatel@apple.com> | 2011-04-06 17:08:15 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2011-04-06 17:08:15 +0000 |
| commit | 8aa6c326ac9879d02ec896a1444fb697e76e5908 (patch) | |
| tree | 2ac1945b37602667c33679579ccb2effb4ef2822 /llvm/lib/VMCore/DebugInfoProbe.cpp | |
| parent | 337a1b29e581221c5996a71fd53e48a52b04eeee (diff) | |
| download | bcm5719-llvm-8aa6c326ac9879d02ec896a1444fb697e76e5908.tar.gz bcm5719-llvm-8aa6c326ac9879d02ec896a1444fb697e76e5908.zip | |
face+palm
Keep track of llvm.dbg.value intrinsics with non null values.
llvm-svn: 129010
Diffstat (limited to 'llvm/lib/VMCore/DebugInfoProbe.cpp')
| -rw-r--r-- | llvm/lib/VMCore/DebugInfoProbe.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/VMCore/DebugInfoProbe.cpp b/llvm/lib/VMCore/DebugInfoProbe.cpp index 08ec5ba4373..57d17a67d69 100644 --- a/llvm/lib/VMCore/DebugInfoProbe.cpp +++ b/llvm/lib/VMCore/DebugInfoProbe.cpp @@ -99,8 +99,8 @@ void DebugInfoProbeImpl::initialize(StringRef PName, Function &F) { Addr = DVI->getValue(); Node = DVI->getVariable(); } - if (Addr) continue; - DbgVariables.insert(Node); + if (Addr) + DbgVariables.insert(Node); } } @@ -154,8 +154,8 @@ void DebugInfoProbeImpl::finalize(Function &F) { Addr = DVI->getValue(); Node = DVI->getVariable(); } - if (Addr) continue; - DbgVariables2.insert(Node); + if (Addr) + DbgVariables2.insert(Node); } for (std::set<MDNode *>::iterator I = DbgVariables.begin(), |

