We shouldn't be able to reach this code path from source code but this provides a better fail-safe than asserting. The result of the downgrade is a degraded debugging experience, but it is better than nothing.
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
Comment Actions
The test wants a triple, plus I have a question about the checks.
llvm/test/DebugInfo/assignment-tracking/X86/assignment-tracking-not-enabled.ll | ||
---|---|---|
2–3 | I think the triple needs to present on the command line or in the ll file, otherwise we'll hit buildbots that support x86 but where it isn't the default triple, and we'll get different output. | |
5–7 | What would the debug-info output look like with AT, and do we need to CHECK-NOT it? |
I think the triple needs to present on the command line or in the ll file, otherwise we'll hit buildbots that support x86 but where it isn't the default triple, and we'll get different output.