brintos

brintos / llvm-project-archived public Read only

0
0
Text · 717 B · cd8a834 Raw
17 lines · plain
1Tests /ignore with more than one argument.2 3RUN: yaml2obj %S/ignore4217.yaml -o %t1.obj4RUN: yaml2obj %S/Inputs/pdb-type-server-missing-2.yaml -o %t2.obj5RUN: echo foo > %t3.order6 7RUN: lld-link /entry:main /out:%t.exe %t1.obj %t2.obj /order:@%t3.order /debug 2>&1 | FileCheck -check-prefix=WARNINGS %s8RUN: lld-link /entry:main /out:%t.exe %t1.obj %t2.obj /order:@%t3.order /debug /ignore:4217,4099,4037 2>&1 | FileCheck -allow-empty -check-prefix=SUPPRESSED %s9 10WARNINGS: locally defined symbol imported11WARNINGS: missing symbol: foo12WARNINGS: warning: Cannot use debug info for13 14SUPPRESSED-NOT: locally defined symbol imported15SUPPRESSED-NOT: missing symbol: foo16SUPPRESSED-NOT: warning: Cannot use debug info for17