Turn on CU ranges if we've got multiple compile units in the same
authorEric Christopher <echristo@gmail.com>
Wed, 29 Jan 2014 22:06:27 +0000 (22:06 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 29 Jan 2014 22:06:27 +0000 (22:06 +0000)
commitc879504978f4bb2aebe9189ed7a3866e3003c961
tree549e9b8f22c83e01858e1d33691e9668ed11a44e
parent4ec1a52c5f1aa320ec696e500605e99319f46488
Turn on CU ranges if we've got multiple compile units in the same
module since there's no range guarantee that we could make given
output order. This also fixes up the testcases that have multiple
CUs to have the correct range offset.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200422 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/stmt-list-multiple-compile-units.ll