[llvm] 8c5825b - [llvm-readobj][test] Fix ELF/verneed-flags.yaml
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 7 15:01:10 PDT 2020
Author: Fangrui Song
Date: 2020-07-07T15:01:02-07:00
New Revision: 8c5825befb7bbb2e76f7eccedc6d3bf26e9b2a6a
URL: https://github.com/llvm/llvm-project/commit/8c5825befb7bbb2e76f7eccedc6d3bf26e9b2a6a
DIFF: https://github.com/llvm/llvm-project/commit/8c5825befb7bbb2e76f7eccedc6d3bf26e9b2a6a.diff
LOG: [llvm-readobj][test] Fix ELF/verneed-flags.yaml
*.yaml tests don't currently run, so we failed to update it.
Added:
Modified:
llvm/test/tools/llvm-readobj/ELF/verneed-flags.yaml
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-readobj/ELF/verneed-flags.yaml b/llvm/test/tools/llvm-readobj/ELF/verneed-flags.yaml
index eedc7fe7ad7a..685acfbd696a 100644
--- a/llvm/test/tools/llvm-readobj/ELF/verneed-flags.yaml
+++ b/llvm/test/tools/llvm-readobj/ELF/verneed-flags.yaml
@@ -13,37 +13,52 @@
# LLVM-VERDEF-NEXT: Entries [
# LLVM-VERDEF-NEXT: Entry {
# LLVM-VERDEF-NEXT: Hash: 0
-# LLVM-VERDEF-NEXT: Flags: Base (0x1)
+# LLVM-VERDEF-NEXT: Flags [ (0x1)
+# LLVM-VERDEF-NEXT: Base (0x1)
+# LLVM-VERDEF-NEXT: ]
# LLVM-VERDEF-NEXT: Index: 0
# LLVM-VERDEF-NEXT: Name: base
# LLVM-VERDEF-NEXT: }
# LLVM-VERDEF-NEXT: Entry {
# LLVM-VERDEF-NEXT: Hash: 0
-# LLVM-VERDEF-NEXT: Flags: Weak (0x2)
+# LLVM-VERDEF-NEXT: Flags [ (0x2)
+# LLVM-VERDEF-NEXT: Weak (0x2)
+# LLVM-VERDEF-NEXT: ]
# LLVM-VERDEF-NEXT: Index: 0
# LLVM-VERDEF-NEXT: Name: weak
# LLVM-VERDEF-NEXT: }
# LLVM-VERDEF-NEXT: Entry {
# LLVM-VERDEF-NEXT: Hash: 0
-# LLVM-VERDEF-NEXT: Flags: Info (0x4)
+# LLVM-VERDEF-NEXT: Flags [ (0x4)
+# LLVM-VERDEF-NEXT: Info (0x4)
+# LLVM-VERDEF-NEXT: ]
# LLVM-VERDEF-NEXT: Index: 0
# LLVM-VERDEF-NEXT: Name: info
# LLVM-VERDEF-NEXT: }
# LLVM-VERDEF-NEXT: Entry {
# LLVM-VERDEF-NEXT: Hash: 0
-# LLVM-VERDEF-NEXT: Flags: 0x7
+# LLVM-VERDEF-NEXT: Flags [ (0x7)
+# LLVM-VERDEF-NEXT: Base (0x1)
+# LLVM-VERDEF-NEXT: Info (0x4)
+# LLVM-VERDEF-NEXT: Weak (0x2)
+# LLVM-VERDEF-NEXT: ]
# LLVM-VERDEF-NEXT: Index: 0
# LLVM-VERDEF-NEXT: Name: all
# LLVM-VERDEF-NEXT: }
# LLVM-VERDEF-NEXT: Entry {
# LLVM-VERDEF-NEXT: Hash: 0
-# LLVM-VERDEF-NEXT: Flags: 0x8
+# LLVM-VERDEF-NEXT: Flags [ (0x8)
+# LLVM-VERDEF-NEXT: ]
# LLVM-VERDEF-NEXT: Index: 0
# LLVM-VERDEF-NEXT: Name: unknown
# LLVM-VERDEF-NEXT: }
# LLVM-VERDEF-NEXT: Entry {
# LLVM-VERDEF-NEXT: Hash: 0
-# LLVM-VERDEF-NEXT: Flags: 0xF
+# LLVM-VERDEF-NEXT: Flags [ (0xF)
+# LLVM-VERDEF-NEXT: Base (0x1)
+# LLVM-VERDEF-NEXT: Info (0x4)
+# LLVM-VERDEF-NEXT: Weak (0x2)
+# LLVM-VERDEF-NEXT: ]
# LLVM-VERDEF-NEXT: Index: 0
# LLVM-VERDEF-NEXT: Name: all_and_unknown
# LLVM-VERDEF-NEXT: }
@@ -52,7 +67,7 @@
# LLVM-VERDEF-NEXT: ]
# GNU-VERDEF: Version needs section '.gnu.version_r' contains 1 entries:
-# GNU-VERDEF-NEXT: Addr: 0000000000000000 Offset: 0x000200 Link: 6 (.dynstr)
+# GNU-VERDEF-NEXT: Addr: 0000000000000000 Offset: 0x000040 Link: 3 (.dynstr)
# GNU-VERDEF-NEXT: 0x0000: Version: 1 File: dso.so.0 Cnt: 6
# GNU-VERDEF-NEXT: 0x0010: Name: base Flags: BASE Version: 0
# GNU-VERDEF-NEXT: 0x0020: Name: weak Flags: WEAK Version: 0
More information about the llvm-commits
mailing list