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)
commitbb2990df58623b8aa1a20b9f05a04c03f0af66cf
treef6965a292f5a2b56e5cc506bb7cd5dbb7da5b050
parent8a86d6da26ce399bda9acaf479fe9f920b58c7a9
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.

llvm-svn: 209698
llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp
llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp