[llvm] r351098 - [llvm-objcopy] [COFF] Test absolute symbols wrt --strip-unneeded and --discard-all. NFC.

Martin Storsjo via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 14 10:56:28 PST 2019


Author: mstorsjo
Date: Mon Jan 14 10:56:27 2019
New Revision: 351098

URL: http://llvm.org/viewvc/llvm-project?rev=351098&view=rev
Log:
[llvm-objcopy] [COFF] Test absolute symbols wrt --strip-unneeded and --discard-all. NFC.

Differential Revision: https://reviews.llvm.org/D56659

Modified:
    llvm/trunk/test/tools/llvm-objcopy/COFF/Inputs/discard-locals.yaml
    llvm/trunk/test/tools/llvm-objcopy/COFF/discard-all.test
    llvm/trunk/test/tools/llvm-objcopy/COFF/strip-unneeded.test

Modified: llvm/trunk/test/tools/llvm-objcopy/COFF/Inputs/discard-locals.yaml
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objcopy/COFF/Inputs/discard-locals.yaml?rev=351098&r1=351097&r2=351098&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-objcopy/COFF/Inputs/discard-locals.yaml (original)
+++ llvm/trunk/test/tools/llvm-objcopy/COFF/Inputs/discard-locals.yaml Mon Jan 14 10:56:27 2019
@@ -42,4 +42,10 @@ symbols:
     SimpleType:      IMAGE_SYM_TYPE_NULL
     ComplexType:     IMAGE_SYM_DTYPE_NULL
     StorageClass:    IMAGE_SYM_CLASS_STATIC
+  - Name:            '@feat.00'
+    Value:           0
+    SectionNumber:   -1
+    SimpleType:      IMAGE_SYM_TYPE_NULL
+    ComplexType:     IMAGE_SYM_DTYPE_NULL
+    StorageClass:    IMAGE_SYM_CLASS_STATIC
 ...

Modified: llvm/trunk/test/tools/llvm-objcopy/COFF/discard-all.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objcopy/COFF/discard-all.test?rev=351098&r1=351097&r2=351098&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-objcopy/COFF/discard-all.test (original)
+++ llvm/trunk/test/tools/llvm-objcopy/COFF/discard-all.test Mon Jan 14 10:56:27 2019
@@ -22,4 +22,5 @@ SYMBOLS-NEXT: external_undefined
 SYMBOLS-PRE-NEXT: local_unreferenced
 SYMBOLS-NEXT: local_referenced
 SYMBOLS-NEXT: local_undefined_unreferenced
+SYMBOLS-PRE-NEXT: @feat.00
 SYMBOLS-EMPTY:

Modified: llvm/trunk/test/tools/llvm-objcopy/COFF/strip-unneeded.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objcopy/COFF/strip-unneeded.test?rev=351098&r1=351097&r2=351098&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-objcopy/COFF/strip-unneeded.test (original)
+++ llvm/trunk/test/tools/llvm-objcopy/COFF/strip-unneeded.test Mon Jan 14 10:56:27 2019
@@ -11,4 +11,5 @@ SYMBOLS-NEXT: external_undefined
 SYMBOLS-PRE-NEXT: local_unreferenced
 SYMBOLS-NEXT: local_referenced
 SYMBOLS-PRE-NEXT: local_undefined_unreferenced
+SYMBOLS-PRE-NEXT: @feat.00
 SYMBOLS-EMPTY:




More information about the llvm-commits mailing list