diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-09 22:48:04 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-02-09 22:48:04 +0000 |
commit | b407bb2789e0c1daea1b7d7e896e6a600e408cf0 (patch) | |
tree | 09e0236b8025e8957d327e2c1e24175f4dcacb6d /llvm/lib/IR/DebugInfo.cpp | |
parent | d4a912fefddfe8e9139f1a3163db8c69d81dbd92 (diff) | |
download | bcm5719-llvm-b407bb2789e0c1daea1b7d7e896e6a600e408cf0.tar.gz bcm5719-llvm-b407bb2789e0c1daea1b7d7e896e6a600e408cf0.zip |
DebugInfo: Remove DW_TAG_constant
Remove handling for DW_TAG_constant. We started producing it in
r110656, but reverted that in r110876 without dropping the support.
Finish the job.
llvm-svn: 228623
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
-rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index 88f7e33b7dc..ad661c5c435 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -254,8 +254,7 @@ bool DIDescriptor::isSubprogram() const { } bool DIDescriptor::isGlobalVariable() const { - return DbgNode && (getTag() == dwarf::DW_TAG_variable || - getTag() == dwarf::DW_TAG_constant); + return DbgNode && getTag() == dwarf::DW_TAG_variable; } bool DIDescriptor::isScope() const { |