diff options
-rw-r--r-- | test/Object/Inputs/absolute.elf-x86-64 | bin | 0 -> 711 bytes | |||
-rw-r--r-- | test/Object/nm-trivial-object.test | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/test/Object/Inputs/absolute.elf-x86-64 b/test/Object/Inputs/absolute.elf-x86-64 Binary files differnew file mode 100644 index 0000000000..863ab58922 --- /dev/null +++ b/test/Object/Inputs/absolute.elf-x86-64 diff --git a/test/Object/nm-trivial-object.test b/test/Object/nm-trivial-object.test index c2d2ebb14b..631e821134 100644 --- a/test/Object/nm-trivial-object.test +++ b/test/Object/nm-trivial-object.test @@ -8,6 +8,8 @@ RUN: llvm-nm %p/Inputs/trivial-object-test.elf-x86-64 \ RUN: | FileCheck %s -check-prefix ELF RUN: llvm-nm %p/Inputs/weak.elf-x86-64 \ RUN: | FileCheck %s -check-prefix WEAK-ELF +RUN: llvm-nm %p/Inputs/absolute.elf-x86-64 \ +RUN: | FileCheck %s -check-prefix ABSOLUTE-ELF RUN: llvm-nm %p/Inputs/trivial-object-test.macho-i386 \ RUN: | FileCheck %s -check-prefix macho RUN: llvm-nm %p/Inputs/trivial-object-test.macho-x86-64 \ @@ -41,6 +43,9 @@ WEAK-ELF: 00000000 W f2 WEAK-ELF: v x1 WEAK-ELF: 00000000 V x2 +ABSOLUTE-ELF: 00000123 a a1 +ABSOLUTE-ELF: 00000123 A a2 + macho: 00000000 U _SomeOtherFunction macho: 00000000 T _main macho: 00000000 U _puts |