]> granicus.if.org Git - llvm/commit
Debug Info: Move the sorting and uniqueing of pieces from emitLocPieces()
authorAdrian Prantl <aprantl@apple.com>
Mon, 11 Aug 2014 21:05:55 +0000 (21:05 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 11 Aug 2014 21:05:55 +0000 (21:05 +0000)
commitb89cf2aa6e385051eec16c33f55fbde8924d8cd9
tree6e96e4d7d1110b42f1707db95200478588a6acc0
parent0ca6b9f076bff6499c33a70e3d955f79be646d55
Debug Info: Move the sorting and uniqueing of pieces from emitLocPieces()
into buildLocationList(). By keeping the list of Values sorted,
DebugLocEntry::Merge can also merge multi-piece entries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215384 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DebugLocEntry.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp