diff options
author | Greg Clayton <gclayton@apple.com> | 2010-09-13 00:50:27 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-09-13 00:50:27 +0000 |
commit | ac32b4ddc0ee0b5bf621209c1d8d341edff3e978 (patch) | |
tree | cabe613388fbe1218b2a06e69f0f6f5fe07ee14c /libcxx/src | |
parent | 83ff3898f7333aeb9a931c0c6d6d8a2f987b8e1f (diff) | |
download | bcm5719-llvm-ac32b4ddc0ee0b5bf621209c1d8d341edff3e978.tar.gz bcm5719-llvm-ac32b4ddc0ee0b5bf621209c1d8d341edff3e978.zip |
I made this example after noting that I was unable to display an unsized
static class array. It turns out that gcc 4.2 will emit DWARF that correctly
describes the PointType, but it will incorrectly emit debug info for the
"g_points" array where the following things are wrong:
- the DW_TAG_array_type won't have a subrange info
- the DW_TAG_variable for "g_points" won't have a valid byte size, so even
though we know the size of PointType, we can't infer the actual size
of the array by dividing the size of the variable by the number of
elements.
We want to make sure clang and llvm-gcc handle this correctly.
llvm-svn: 113730
Diffstat (limited to 'libcxx/src')
0 files changed, 0 insertions, 0 deletions