diff options
author | Adrian Prantl <aprantl@apple.com> | 2015-04-29 16:52:31 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2015-04-29 16:52:31 +0000 |
commit | 00820abf0271dcbe03231b832d603ad6a1e7dc9b (patch) | |
tree | ce6918965a5f7dc1e394f679839228646966a3e5 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | ba6ec4b70bc49bf8b65b59f64b43df4df3fe786e (diff) | |
download | llvm-00820abf0271dcbe03231b832d603ad6a1e7dc9b.zip llvm-00820abf0271dcbe03231b832d603ad6a1e7dc9b.tar.gz llvm-00820abf0271dcbe03231b832d603ad6a1e7dc9b.tar.bz2 |
Debug Info: Represent local anonymous unions as anonymous unions
and as artificial local variables in the debug info.
This is a follow-up to r236059. We can't get rid of the local variables
entirely because the gdb buildbot depends on them, but we can mark them
as artificial while still emitting the correct debug info. As I learned
from review comments other compilers also follow this model.
A paired commit in LLVM temporarily relaxes the debug info verifier to
not check the integrity of DW_OP_bit_pieces of artificial variables.
rdar://problem/20730771
llvm-svn: 236125
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions