[llvm-branch-commits] [lld] [PAC][lld][AArch64][ELF] Support signed TLSDESC (PR #113817)
Peter Smith via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Nov 5 10:00:30 PST 2024
================
@@ -1352,6 +1352,36 @@ unsigned RelocationScanner::handleTlsRelocation(RelExpr expr, RelType type,
return 1;
}
+ auto fatalBothAuthAndNonAuth = [&sym]() {
+ fatal("both AUTH and non-AUTH TLSDESC entries for '" + sym.getName() +
----------------
smithp35 wrote:
Can you add getLocation to the error message so that a user can find the source of at least one of the relocations?
I also recommend not using fatal but use error so that a user can get diagnostics like the map file out of the link.
https://github.com/llvm/llvm-project/pull/113817
More information about the llvm-branch-commits
mailing list