mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
Fix fetching the symbol table of a thin archive.
We were trying to read it as an external file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242926 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -8,6 +8,17 @@ CHECK-NEXT: foo in trivial-object-test2.elf-x86-64
|
||||
CHECK-NEXT: main in trivial-object-test2.elf-x86-64
|
||||
CHECK-NOT: bar
|
||||
|
||||
|
||||
RUN: rm -f %t.a
|
||||
RUN: llvm-ar rcT %t.a %p/Inputs/trivial-object-test.elf-x86-64 %p/Inputs/trivial-object-test2.elf-x86-64
|
||||
RUN: llvm-nm -M %t.a | FileCheck --check-prefix=THIN %s
|
||||
|
||||
THIN: Archive map
|
||||
THIN-NEXT: main in {{.*}}/Inputs/trivial-object-test.elf-x86-64
|
||||
THIN-NEXT: foo in {{.*}}/Inputs/trivial-object-test2.elf-x86-64
|
||||
THIN-NEXT: main in {{.*}}/Inputs/trivial-object-test2.elf-x86-64
|
||||
|
||||
|
||||
CHECK: trivial-object-test.elf-x86-64:
|
||||
CHECK-NEXT: U SomeOtherFunction
|
||||
CHECK-NEXT: 0000000000000000 T main
|
||||
|
||||
Reference in New Issue
Block a user