Change representation of instruction ranges where variable is accessible.
authorAlexey Samsonov <vonosmas@gmail.com>
Tue, 27 May 2014 23:09:50 +0000 (23:09 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Tue, 27 May 2014 23:09:50 +0000 (23:09 +0000)
commita807d6783a88310e48b1194948bf45c52a2ada15
tree38d28df01a5c86f48f378986decf08398a6e0f0f
parentf9e42bc162e351f8eeb973beeb0a090ff2019502
Change representation of instruction ranges where variable is accessible.

Use more straightforward way to represent the set of instruction
ranges where the location of a user variable is defined - vector of pairs
of instructions (defining start/end of each range),
instead of a flattened vector of instructions where some instructions
are supposed to start the range, and the rest are supposed to "clobber" it.

Simplify the code which generates actual .debug_loc entries.

No functionality change.

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