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

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 00:37:38 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 }
----------------
jh7370 wrote:

Do you actually need the rest of these symbols?

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


More information about the llvm-commits mailing list