diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-06-19 17:59:14 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-06-19 17:59:14 +0000 |
commit | 6072096fd63c1996cfe731ecddcb6b3232e37b70 (patch) | |
tree | ad99f0e4f93ba1faa399b4411db40e7417ba67c4 /test | |
parent | 36a321160e61149088f306c3605a9ad5fdd67e0a (diff) | |
download | llvm-6072096fd63c1996cfe731ecddcb6b3232e37b70.tar.gz llvm-6072096fd63c1996cfe731ecddcb6b3232e37b70.tar.bz2 llvm-6072096fd63c1996cfe731ecddcb6b3232e37b70.tar.xz |
DebugInfo: Fission: Ensure the address pool entries for location lists are emitted.
The address pool was being emitted before location lists. The latter
could add more entries to the pool which would be lost/never emitted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/DebugInfo/X86/fission-ranges.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/DebugInfo/X86/fission-ranges.ll b/test/DebugInfo/X86/fission-ranges.ll index 057039c3c5..135837582f 100644 --- a/test/DebugInfo/X86/fission-ranges.ll +++ b/test/DebugInfo/X86/fission-ranges.ll @@ -44,6 +44,13 @@ ; Make sure we don't produce any relocations in any .dwo section (though in particular, debug_info.dwo) ; HDR-NOT: .rela.{{.*}}.dwo +; Make sure we have enough stuff in the debug_addr to cover the address indexes +; (6 is the last index in debug_loc.dwo, making 7 entries of 8 bytes each, 7 * 8 +; == 56 base 10 == 38 base 16) + +; HDR: .debug_addr 00000038 +; HDR-NOT: .rela.{{.*}}.dwo + ; From the code: ; extern int c; |