summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-06-04 23:50:52 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-06-04 23:50:52 +0000
commit36408e75696d97ccf0e054335c5beb29843183fe (patch)
tree830903249045976b82a6a7563629cccc07e7d5db /clang/tools/c-index-test/c-index-test.c
parent4244ea9ca13926d65ddeb79f1b72331ddede0ab1 (diff)
downloadbcm5719-llvm-36408e75696d97ccf0e054335c5beb29843183fe.tar.gz
bcm5719-llvm-36408e75696d97ccf0e054335c5beb29843183fe.zip
DebugInfo: Reapply r209984 (reverted in r210143), asserting that abstract DbgVariables have DIEs.
Abstract variables within abstract scopes that are entirely optimized away in their first inlining are omitted because their scope is not present so the variable is never created. Instead, we should ensure the scope is created so the variable can be added, even if it's been optimized away in its first inlining. This fixes the incorrect debug info in missing-abstract-variable.ll (added in r210143) and passes an asserts self-hosting build, so hopefully there's not more of these issues left behind... *fingers crossed*. llvm-svn: 210221
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud