[llvm] [llvm-ifs] Treat unknown symbol types as error. (PR #75872)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 11:13:56 PST 2023


================
@@ -0,0 +1,15 @@
+# RUN: not llvm-ifs --output-ifs=- %s 2>&1 | FileCheck %s
+
+--- !ifs-v1
+SoName: somelib.so
+IfsVersion: 3.0
+Target: { ObjectFormat: ELF, Arch: Aarch64, Endianness: little, BitWidth: 64 }
+Symbols:
+  - { Name: foo, Type: Func }
+  - { Name: bar, Type: Object, Size: 42 }
+  - { Name: baz, Type: Object, Size: 8 }
+  - { Name: not, Type: Object, Size: 128, Undefined: true }
----------------
zeroomega wrote:

No, they are copied from another test. I removed them in the latest fixup patch.

https://github.com/llvm/llvm-project/pull/75872


More information about the llvm-commits mailing list