[llvm] r346611 - [llvm][test] Update tests using objdump
Kristina Brooks via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 11 10:40:33 PST 2018
Author: kristina
Date: Sun Nov 11 10:40:33 2018
New Revision: 346611
URL: http://llvm.org/viewvc/llvm-project?rev=346611&view=rev
Log:
[llvm][test] Update tests using objdump
Update tests using llvm-objdump since check strings don't
match anymore due to the extra `O` in place. This is a
followup for rL346610.
Modified:
llvm/trunk/test/MC/ELF/common-redeclare.s
llvm/trunk/test/Object/objdump-symbol-table.test
Modified: llvm/trunk/test/MC/ELF/common-redeclare.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/common-redeclare.s?rev=346611&r1=346610&r2=346611&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/common-redeclare.s (original)
+++ llvm/trunk/test/MC/ELF/common-redeclare.s Sun Nov 11 10:40:33 2018
@@ -1,5 +1,5 @@
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s | llvm-objdump -t - | FileCheck %s
-# CHECK: 0000000000000004 g *COM* 00000004 C
+# CHECK: 0000000000000004 g O *COM* 00000004 C
+ .comm C,4,4
.comm C,4,4
- .comm C,4,4
\ No newline at end of file
Modified: llvm/trunk/test/Object/objdump-symbol-table.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/objdump-symbol-table.test?rev=346611&r1=346610&r2=346611&view=diff
==============================================================================
--- llvm/trunk/test/Object/objdump-symbol-table.test (original)
+++ llvm/trunk/test/Object/objdump-symbol-table.test Sun Nov 11 10:40:33 2018
@@ -37,7 +37,7 @@ macho-i386: 00000000 *UND*
ELF-shared: shared-object-test.elf-i386: file format
ELF-shared: SYMBOL TABLE:
ELF-shared: 00000200 l F .text 00000003 local_func
-ELF-shared: 000012b8 l *ABS* 00000000 .hidden _GLOBAL_OFFSET_TABLE_
-ELF-shared: 00001248 l *ABS* 00000000 .hidden _DYNAMIC
-ELF-shared: 000012c4 g .data 00000004 defined_sym
+ELF-shared: 000012b8 l O *ABS* 00000000 .hidden _GLOBAL_OFFSET_TABLE_
+ELF-shared: 00001248 l O *ABS* 00000000 .hidden _DYNAMIC
+ELF-shared: 000012c4 g O .data 00000004 defined_sym
ELF-shared: 000001f0 g F .text 00000003 global_func
More information about the llvm-commits
mailing list