From bd9e46815d73e4236c207bad8b5c54e7188154d7 Mon Sep 17 00:00:00 2001 From: Vy Nguyen Date: Mon, 16 May 2022 20:46:15 -0400 Subject: [PATCH] [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. --- lld/test/MachO/demangle.s | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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