[llvm-branch-commits] [lld] [PAC][lld][AArch64][ELF] Support signed TLSDESC (PR #113817)

Fangrui Song via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Nov 8 17:40:07 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() +
----------------
MaskRay wrote:

We now use `Fatal(ctx) << ...`. Unlike fatal, `Fatal` executes `exit` but is not `noreturn`.

`Fatal` should generally be avoided in favor of `Err`.

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


More information about the llvm-branch-commits mailing list