Added option -glineinfo-only to support emission of the debug directives
only. It behaves very similar to -gline-tables-only, except that it sets
llvm debug info emission kind to
llvm::DICompileUnit::DebugDirectivesOnly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 22101 Build 22101: arc lint + arc unit
Event Timeline
Comment Actions
I reused the same debug info level support in clang, but in LLVM they have different processing and I'm not sure that they are absolutely compatible.
test/Driver/debug-options.c | ||
---|---|---|
259 | 'lineinfo' seems like two words - the inconsistency with 'line-tables' seems like it'd be confusing. But also I'm not sure line-table versus line-info is very differentiating. Maybe line-directives-only? |
Comment Actions
Not sure that every test for line-tables-only needs to also test line-directives-only, but not a huge deal either way. (only the cases where there's actually a different codepath to test/new code to validate would I bother testing - rather than duplicating all the tests)
Looks good.
'lineinfo' seems like two words - the inconsistency with 'line-tables' seems like it'd be confusing.
But also I'm not sure line-table versus line-info is very differentiating. Maybe line-directives-only?