mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-26 19:36:28 +00:00
Make this test more strict.
While at it, also remove unused command line options. llvm-svn: 293084
This commit is contained in:
parent
400771edd6
commit
c7b9dfaf0b
@ -3,20 +3,41 @@
|
||||
# RUN: echo "bar" > %t_retain.txt
|
||||
# RUN: echo "foo" >> %t_retain.txt
|
||||
# RUN: ld.lld -shared --retain-symbols-file=%t_retain.txt %t -o %t2
|
||||
# RUN: llvm-readobj -s -sd -t %t2 | FileCheck %s
|
||||
# RUN: llvm-readobj -t %t2 | FileCheck %s
|
||||
|
||||
## Check separate form.
|
||||
# RUN: ld.lld -shared --retain-symbols-file %t_retain.txt %t -o %t2
|
||||
# RUN: llvm-readobj -s -sd -t %t2 | FileCheck %s
|
||||
# RUN: llvm-readobj -t %t2 | FileCheck %s
|
||||
|
||||
# CHECK: Symbols [
|
||||
# CHECK: Symbols [
|
||||
# CHECK-NEXT: Symbol {
|
||||
# CHECK-NEXT: Name: (0)
|
||||
# CHECK: Symbol {
|
||||
# CHECK-NEXT: Value:
|
||||
# CHECK-NEXT: Size:
|
||||
# CHECK-NEXT: Binding:
|
||||
# CHECK-NEXT: Type:
|
||||
# CHECK-NEXT: Other:
|
||||
# CHECK-NEXT: Section:
|
||||
# CHECK-NEXT: }
|
||||
# CHECK-NEXT: Symbol {
|
||||
# CHECK-NEXT: Name: bar
|
||||
# CHECK: Symbol {
|
||||
# CHECK-NEXT: Value:
|
||||
# CHECK-NEXT: Size:
|
||||
# CHECK-NEXT: Binding: Global
|
||||
# CHECK-NEXT: Type:
|
||||
# CHECK-NEXT: Other:
|
||||
# CHECK-NEXT: Section: .text
|
||||
# CHECK-NEXT: }
|
||||
# CHECK-NEXT: Symbol {
|
||||
# CHECK-NEXT: Name: foo
|
||||
# CHECK-NOT: Symbol
|
||||
# CHECK-NEXT: Value:
|
||||
# CHECK-NEXT: Size:
|
||||
# CHECK-NEXT: Binding: Global
|
||||
# CHECK-NEXT: Type:
|
||||
# CHECK-NEXT: Other:
|
||||
# CHECK-NEXT: Section: .text
|
||||
# CHECK-NEXT: }
|
||||
# CHECK-NEXT: ]
|
||||
|
||||
.text
|
||||
.globl _start
|
||||
|
Loading…
x
Reference in New Issue
Block a user