]> granicus.if.org Git - clang/commit
Follow-up to r205999: Emit an artificial location (valid scope, line 0)
authorAdrian Prantl <aprantl@apple.com>
Fri, 11 Apr 2014 23:45:01 +0000 (23:45 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 11 Apr 2014 23:45:01 +0000 (23:45 +0000)
commit9f26a8d4a268f80bd9012207105f34613fb1b9f8
treecf6dcd16f09fa0d3b439b073e4a0e35d14b42dd9
parent23ebdf2beabb80b9a39f1295b843fe6dcbdb0af1
Follow-up to r205999: Emit an artificial location (valid scope, line 0)
for CXXGlobalInit/Dtor helper functions.
This makes _GLOBAL__I_a regain its DW_AT_high/low_pc in the debug info.

Thanks to echristo for catching this!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206088 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDeclCXX.cpp
test/CodeGenCXX/globalinit-loc.cpp