summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-11-29 23:39:12 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-11-29 23:39:12 +0000
commite10568364e880ecb54111aba41b653bdf6b59609 (patch)
tree7f522dce350c392090492432d1ee27f01246fccc
parentd1b2d22d373fe9e5a1f4b0ad34ba1539d0001b3d (diff)
downloadbcm5719-llvm-e10568364e880ecb54111aba41b653bdf6b59609.tar.gz
bcm5719-llvm-e10568364e880ecb54111aba41b653bdf6b59609.zip
Fix reloc section alignment in test.
This should fix the ubsan bot. We still have to fix lld to produce a clean error on unaligned reloc sections. llvm-svn: 319385
-rw-r--r--lld/test/ELF/undef-broken-debug.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/test/ELF/undef-broken-debug.test b/lld/test/ELF/undef-broken-debug.test
index c9b0dffff47..967690601a7 100644
--- a/lld/test/ELF/undef-broken-debug.test
+++ b/lld/test/ELF/undef-broken-debug.test
@@ -20,6 +20,7 @@ Sections:
Content: '0000000000000000'
- Name: .rela.text
Type: SHT_RELA
+ AddressAlign: 8
Link: .symtab
Info: .text
Relocations:
@@ -30,6 +31,7 @@ Sections:
Type: SHT_PROGBITS
Content: 3300000002001C0000000101FB0E0D000101010100000001000001006162632E7300000000000009020000000000000000140208000101
- Name: .rela.debug_line
+ AddressAlign: 8
Type: SHT_RELA
Link: .symtab
Info: .debug_line
OpenPOWER on IntegriCloud