diff options
| author | Bill Wendling <isanbard@gmail.com> | 2012-11-13 02:31:58 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2012-11-13 02:31:58 +0000 |
| commit | 2415b3b6b0c4eeb47c53cc0f908040d106b4d024 (patch) | |
| tree | 1889d4e85ca8e188e2acae8a3fa68e826655c63c /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
| parent | f454dfb6b5af1ff34602577b5f546c3370be315e (diff) | |
| download | llvm-2415b3b6b0c4eeb47c53cc0f908040d106b4d024.zip llvm-2415b3b6b0c4eeb47c53cc0f908040d106b4d024.tar.gz llvm-2415b3b6b0c4eeb47c53cc0f908040d106b4d024.tar.bz2 | |
Use the 'count' attribute instead of the 'upper_bound' attribute.
If we have a type 'int a[1]' and a type 'int b[0]', the generated DWARF is the
same for both of them because we use the 'upper_bound' attribute. Instead use
the 'count' attrbute, which gives the correct number of elements in the array.
<rdar://problem/12566646>
llvm-svn: 167807
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
