[lld] [lld][ELF] Demote symbols in discarded sections to Undefined. (PR #68777)

Bevin Hansson via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 01:05:22 PDT 2023


================
@@ -0,0 +1,16 @@
+# REQUIRES: x86
----------------
bevin-hansson wrote:

This is true. The reason I couldn't add a test for the local symbol case is because when you have local symbols, llvm-mc seems to emit them as section symbols with an offset addend rather than an actual symbol relocation. So it runs afoul of the exception for section symbols, and doesn't trigger.

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


More information about the llvm-commits mailing list