Debug info: Refactor DebugLocEntry's Merge function to make
authorAdrian Prantl <aprantl@apple.com>
Mon, 11 Aug 2014 20:59:28 +0000 (20:59 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 11 Aug 2014 20:59:28 +0000 (20:59 +0000)
commit0ca6b9f076bff6499c33a70e3d955f79be646d55
treed3651073ecf51242ef4e67a5bfa7cc2aacb3fb42
parent6c2be4ff95e4f7099b33ad53b47d621ff7ea04a3
Debug info: Refactor DebugLocEntry's Merge function to make
buildLocationLists easier to read.

The previous implementation conflated the merging of individual pieces
and the merging of entire DebugLocEntries.

By splitting this functionality into two separate functions the intention
of the code should be clearer.

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