[llvm-branch-commits] [lld] 1b1ad65 - [LLD] [COFF] Fix test to properly test all aspects of c3b1d730d6. NFC.

Hans Wennborg via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jul 27 07:48:41 PDT 2020


Author: Martin Storsjö
Date: 2020-07-27T16:46:48+02:00
New Revision: 1b1ad651eacb67385f187eb92a798165deb72c64

URL: https://github.com/llvm/llvm-project/commit/1b1ad651eacb67385f187eb92a798165deb72c64
DIFF: https://github.com/llvm/llvm-project/commit/1b1ad651eacb67385f187eb92a798165deb72c64.diff

LOG: [LLD] [COFF] Fix test to properly test all aspects of c3b1d730d6. NFC.

Previously, the test could pass with one part of c3b1d730d6 removed.

(cherry picked from commit 8dc820393219c7ee440b4ec86c9a201301943276)

Added: 
    

Modified: 
    lld/test/COFF/associative-comdat-mingw-i386.s

Removed: 
    


################################################################################
diff  --git a/lld/test/COFF/associative-comdat-mingw-i386.s b/lld/test/COFF/associative-comdat-mingw-i386.s
index 3f5e02330d50..8d89478d4eb0 100644
--- a/lld/test/COFF/associative-comdat-mingw-i386.s
+++ b/lld/test/COFF/associative-comdat-mingw-i386.s
@@ -30,7 +30,7 @@ _main:
         .scl            2;
         .type           32;
         .endef
-        .section        .text$foo,"xr",discard,foo
+        .section        .text$foo,"xr",discard,_foo
         .globl          _foo
         .p2align        4
 _foo:


        


More information about the llvm-branch-commits mailing list