[lld] 62790f3 - [lld-macho] Try and fix map-file.s' flakiness

Jez Ng via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 11 23:02:52 PST 2022


Author: Jez Ng
Date: 2022-01-11T23:02:45-08:00
New Revision: 62790f366fbeee4a10ff878f5ae5a7d6ffd86922

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

LOG: [lld-macho] Try and fix map-file.s' flakiness

After {D117069}, map-file.s seems flaky. It seems that the "Total Write
map file" section always exists, but the "Write map file" sub-section
may or may not be emitted. So we check for the former.

Added: 
    

Modified: 
    lld/test/MachO/map-file.s

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/map-file.s b/lld/test/MachO/map-file.s
index d51818ec2019d..67a44eb2dcd32 100644
--- a/lld/test/MachO/map-file.s
+++ b/lld/test/MachO/map-file.s
@@ -51,4 +51,4 @@ _main:
 # CHECK-NEXT: 0x[[#MAIN]]      [  1]  _main
 # CHECK-NEXT: 0x[[#FOO]]       [  2]  _foo
 
-# MAPFILE: "name":"Write map file"
+# MAPFILE: "name":"Total Write map file"


        


More information about the llvm-commits mailing list