[lld] [llvm] [Symbolizer] Support for Missing Line Numbers. (PR #82240)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 14 05:03:30 PDT 2024
ampandey-1995 wrote:
> > Hi @bd1976bris , there is no need to apologize for the same. Although, I tested your latest test case.
> > ```
> > ~$ llvm-mc -g -filetype=obj -triple=x86_64-unknown-linux skip-line-zero.s -o skip-line-zero.o
> > <unknown>:0: error: symbol '.Lline_table_start0' is already defined
> > ```
>
> This is happening because you are passing `-g`. This causes the assembler to generate a line table which conflicts with the one that I have handwritten. The test should pass as the llvm-mc line in the test does not use `-g`.
Yeah , I will restrict calling -g in llvm-mc as it is overwriting the debug-info already created in assembly.
https://github.com/llvm/llvm-project/pull/82240
More information about the llvm-commits
mailing list