aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-11-13 02:31:47 +0000
committerBill Wendling <isanbard@gmail.com>2012-11-13 02:31:47 +0000
commitf454dfb6b5af1ff34602577b5f546c3370be315e (patch)
treeb9508ad75aee559b021e54245c9ac841df36c066 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parentc24eacc85d0530d1b85850cd54af35a4f31a3d28 (diff)
downloadllvm-f454dfb6b5af1ff34602577b5f546c3370be315e.zip
llvm-f454dfb6b5af1ff34602577b5f546c3370be315e.tar.gz
llvm-f454dfb6b5af1ff34602577b5f546c3370be315e.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: 167806
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions