================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to