[lld] [llvm] [Symbolizer] Support for Missing Line Numbers. (PR #82240)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 03:06:50 PDT 2024


bd1976bris 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`.


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


More information about the llvm-commits mailing list