[lld] bd9e468 - [nfc][lld-macho] Fixed test from https://reviews.llvm.org/D125732

Vy Nguyen via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 17:47:55 PDT 2022


Author: Vy Nguyen
Date: 2022-05-16T20:46:15-04:00
New Revision: bd9e46815d73e4236c207bad8b5c54e7188154d7

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

LOG: [nfc][lld-macho] Fixed test from https://reviews.llvm.org/D125732

Details:
The test was incorrectly expecting the error messages for the export symbols to have a particular order.
It shouldn't because the export symbol list is processed concurrently.

Added: 
    

Modified: 
    lld/test/MachO/demangle.s

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/demangle.s b/lld/test/MachO/demangle.s
index b89c1d5a61ff..44281906981e 100644
--- a/lld/test/MachO/demangle.s
+++ b/lld/test/MachO/demangle.s
@@ -1,5 +1,4 @@
 # REQUIRES: x86
-# UNSUPPORTED: system-windows
 
 # RUN: rm -rf %t; split-file %s %t
 
@@ -17,10 +16,10 @@
 # DEMANGLE-UNDEF: undefined symbol: f()
 
 # EXPORT: cannot export hidden symbol __ZTSN3foo3bar4MethE
-# EXPORT: cannot export hidden symbol __ZTIN3foo3bar4MethE
+# EXPORT-DAG: cannot export hidden symbol __ZTIN3foo3bar4MethE
 
 # DEMANGLE-EXPORT: cannot export hidden symbol typeinfo name for foo::bar::Meth
-# DEMANGLE-EXPORT: cannot export hidden symbol typeinfo for foo::bar::Meth
+# DEMANGLE-EXPORT-DAG: cannot export hidden symbol typeinfo for foo::bar::Meth
 
 #--- undefined-symbol.s
 .globl _main


        


More information about the llvm-commits mailing list