diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-05-22 18:50:12 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-05-22 18:50:12 +0000 |
commit | 334a130a6f95d37b0792320cbfdc3386523777a1 (patch) | |
tree | 36225c886b79ab7dcafb1efa910ffcf760ab890a /llvm/lib/CodeGen/LexicalScopes.cpp | |
parent | 5fa289f0d8ff85b9e14d2f814a90761378ab54ae (diff) | |
download | bcm5719-llvm-334a130a6f95d37b0792320cbfdc3386523777a1.tar.gz bcm5719-llvm-334a130a6f95d37b0792320cbfdc3386523777a1.zip |
Revert "Don't generate line&scope debug info for meta-instructions."
This reverts commit r303566 while investigating a stage2 buildbot failure.
llvm-svn: 303570
Diffstat (limited to 'llvm/lib/CodeGen/LexicalScopes.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LexicalScopes.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/LexicalScopes.cpp b/llvm/lib/CodeGen/LexicalScopes.cpp index 40ee7ea785f..275d84e2c18 100644 --- a/llvm/lib/CodeGen/LexicalScopes.cpp +++ b/llvm/lib/CodeGen/LexicalScopes.cpp @@ -86,9 +86,8 @@ void LexicalScopes::extractLexicalScopes( continue; } - // Ignore DBG_VALUE and similar instruction that do not contribute to any - // instruction in the output. - if (MInsn.isMetaInstruction()) + // Ignore DBG_VALUE. It does not contribute to any instruction in output. + if (MInsn.isDebugValue()) continue; if (RangeBeginMI) { |