[lld] [llvm] [Symbolizer] Support for Missing Line Numbers. (PR #82240)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 14 01:53:19 PDT 2024
ampandey-1995 wrote:
> > ```
> > ~$ llvm-mc -g -filetype=obj -triple=x86_64-unknown-linux skip-line-zero.s -o skip-line-zero.o
> > skip-line-zero.s:139:1: error: unknown directive
> > .function_and_data_sections
> > ^
> > ```
>
> Apologies @ampandey-1995 I was in a hurry and left in a directive that we only support in our downstream toolchain. If you remove that line the test should pass. There's probably more in the assembly that can be stripped out as well. I have edited my original post so that the test should pass now. I didn't want to reply and cause another copy of the massive test text to be posted here. I didn't think about replies including the text - I should have used a gist or something!
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
```
Github also allows attachment if it's ok can you please share the full test-case (without stripping) through attachments.
https://github.com/llvm/llvm-project/pull/82240
More information about the llvm-commits
mailing list