diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-03-24 22:27:06 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-03-24 22:27:06 +0000 |
commit | 7385c3207c5fa893abe91cf75e95ed36f64caf40 (patch) | |
tree | 2091c3aa0068509e11eee76341f95f5194d21d64 /lib/CodeGen/AsmPrinter/DIEHash.cpp | |
parent | 1b14452fe46cc3affbafc9cd5677ccb64ecf598f (diff) | |
download | llvm-7385c3207c5fa893abe91cf75e95ed36f64caf40.tar.gz llvm-7385c3207c5fa893abe91cf75e95ed36f64caf40.tar.bz2 llvm-7385c3207c5fa893abe91cf75e95ed36f64caf40.tar.xz |
DwarfDebug: Simplify debug_loc merging
No functional change intended.
Merging up-front rather than delaying this task until later. This just
seems simpler and more efficient (avoiding growing the debug loc list
only to have to skip over those post-merged entries, etc).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204679 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DIEHash.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DIEHash.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIEHash.cpp b/lib/CodeGen/AsmPrinter/DIEHash.cpp index d59622e149..0f5e8fb5b4 100644 --- a/lib/CodeGen/AsmPrinter/DIEHash.cpp +++ b/lib/CodeGen/AsmPrinter/DIEHash.cpp @@ -296,8 +296,6 @@ void DIEHash::hashLocList(const DIELocList &LocList) { // which is the next empty entry. if (Entry.isEmpty()) return; - else if (Entry.isMerged()) - continue; else AP->getDwarfDebug()->emitDebugLocEntry(Streamer, Entry); } |