[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:36 PST 2023


================
@@ -68,7 +68,7 @@ TEST(ElfYamlTextAPI, YAMLReadsTBESymbols) {
       "  - { Name: baz, Type: TLS, Size: 3 }\n"
       "  - { Name: foo, Type: Func, Warning: \"Deprecated!\" }\n"
       "  - { Name: nor, Type: NoType, Undefined: true }\n"
-      "  - { Name: not, Type: File, Undefined: true, Size: 111, "
+      "  - { Name: not, Type: NoType, Undefined: true, Size: 111, "
----------------
jh7370 wrote:

I think the purpose of this symbol was likely to show that an unknown symbol type resulted in an Unknown result, although I don't know for sure.

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


More information about the llvm-commits mailing list