[lld] [lld][ELF] Delete useless assertions (PR #98028)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 09:02:27 PDT 2024


MaskRay wrote:

`assert(sym.auxIdx == symAux.size() - 1);` assertions are useful to prevent allocating more than one entries for one symbol. I used the assertions to prevent some failures. `NEEDS_GOT_AUTH` is clearly AArch64 specific.

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


More information about the llvm-commits mailing list