[lld] 14220fe - [LLD][COFF] Fix incorrect pattern in test
Alexandre Ganea via llvm-commits
llvm-commits at lists.llvm.org
Wed May 3 06:56:03 PDT 2023
Author: Alexandre Ganea
Date: 2023-05-03T09:55:55-04:00
New Revision: 14220fedbd9d89526ba809c027e866b9d828cb57
URL: https://github.com/llvm/llvm-project/commit/14220fedbd9d89526ba809c027e866b9d828cb57
DIFF: https://github.com/llvm/llvm-project/commit/14220fedbd9d89526ba809c027e866b9d828cb57.diff
LOG: [LLD][COFF] Fix incorrect pattern in test
The previous pattern was matching the RVA `0` to the first character of `0x1010`. Make sure now that the entire export entry is matched.
Added:
Modified:
lld/test/COFF/export32.test
Removed:
################################################################################
diff --git a/lld/test/COFF/export32.test b/lld/test/COFF/export32.test
index 4e15177c16128..9f3f1827a65f8 100644
--- a/lld/test/COFF/export32.test
+++ b/lld/test/COFF/export32.test
@@ -89,7 +89,7 @@
# CHECK7: Export Table:
# CHECK7: DLL name: export32.test.tmp.dll
# CHECK7: Ordinal RVA Name
-# CHECK7-NEXT: 1 0
+# CHECK7-NEXT: 1 0x1010 exportfn3
# CHECK7-NEXT: 2 0x1010 foo
--- !COFF
More information about the llvm-commits
mailing list