[llvm] [Mips] Fix clang integrated assembler generates incorrect relocations… (PR #83115)

YunQiang Su via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 26 20:15:43 PDT 2024


wzssyqa wrote:

> I don't have more time spent on investigating the issue, but adding a lot of mips-specific code to the generic AsmParser.cpp is not acceptable.

Although her code is not correct, while I don't think that it is `mips-specific`, instead it is a generic problem.
With our current logic, if there are 2 symbols in a single ASM source file, and the previous symbol uses the later one,
the previous symbol don't treat the later symbol as local symbol.

GNU GAS doesn't have this problem.

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


More information about the llvm-commits mailing list