DwarfDebug: Simplify debug_loc merging
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 24 Mar 2014 22:27:06 +0000 (22:27 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 24 Mar 2014 22:27:06 +0000 (22:27 +0000)
commit7385c3207c5fa893abe91cf75e95ed36f64caf40
tree2091c3aa0068509e11eee76341f95f5194d21d64
parent1b14452fe46cc3affbafc9cd5677ccb64ecf598f
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
lib/CodeGen/AsmPrinter/DIEHash.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h