From e10568364e880ecb54111aba41b653bdf6b59609 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 29 Nov 2017 23:39:12 +0000 Subject: [PATCH] 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 --- lld/test/ELF/undef-broken-debug.test | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lld/test/ELF/undef-broken-debug.test b/lld/test/ELF/undef-broken-debug.test index c9b0dff..9676906 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 -- 2.7.4