summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-07-26 18:48:32 +0000
committerAdrian Prantl <aprantl@apple.com>2017-07-26 18:48:32 +0000
commit833ad37c9035baf52fb44e9300e142a756aaedfb (patch)
tree5ec09d7cebc341b19aa16a137adb32902703c32d /clang/lib/CodeGen/CodeGenFunction.cpp
parenta5e8dd35b00a12c36074e9a5f174e95817f3b273 (diff)
downloadbcm5719-llvm-833ad37c9035baf52fb44e9300e142a756aaedfb.tar.gz
bcm5719-llvm-833ad37c9035baf52fb44e9300e142a756aaedfb.zip
Do a better job at emitting prefrabricated skeleton CUs.
This is a better fix than r308708 for the problem introduced in r304020. It restores the skeleton CU testcases modified by that commit to their original form and most importantly ensures that frontend-generated skeleton CUs (such as used to point to Clang modules) come after the regular CUs. This broke for DICompileUnit nodes that don't have any immediate children because they are now constructed lazily instead of the order in which they are listed in !llvm.dbg.cu. After this commit we still don't guarantee that order, but we do guarantee that empty skeletons come last. Shipping versions of LLDB are very sensitive to the ordering of CUs. I'll track a fix for LLDB to be more permissive separately. This fixes a test failure in the LLDB testsuite. rdar://problem/33357252 llvm-svn: 309154
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud