For assembly input files, generate debug info even when the .file
directive is present, provided it does not include a file-number
argument.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Comments:
llvm/lib/MC/MCParser/AsmParser.cpp | ||
---|---|---|
3354–3361 ↗ | (On Diff #162717) | This code block is the interesting part moreso than the if/else. Before r328208, an effect similar to this was in the else clause (FileNumber != 1). |
Comment Actions
The indentation in the test looks a little odd. Please verify there are no hard tabs.
Otherwise LGTM.
Please cite the PR number in the commit message, when you push this.
Comment Actions
There's no hard tabs. The only indentation oddness that I identified was the 4-space indentation for nop versus 8-space for the .file directive. Corrected nop to match the .file.