With basic block sections, there are multiple flexible text sections for
a function, allow multiple .cv_loc directives for a function.
Signed-off-by: Pan, Tao <tao.pan@intel.com>
Differential D101421
[DebugInfo] Enable CodeView DebugInfo for basic block sections TaoPan on Apr 27 2021, 7:05 PM. Authored by
Details
Diff Detail
Unit Tests Event Timeline
Comment Actions Thanks for your review comment!
Comment Actions Change condition from MachineBasicBlock is begin section to MachineFunction has BB sections and add comment
Comment Actions Sorry for the delay.
Comment Actions Thanks for your review comments!
Comment Actions Thanks for your big help!
|
Please make this change in the AsmPrinter, not the assembler. The assembler should still emit an error: if the user directly uses cv_loc directives, the assembler should produce an error. The compiler needs to avoid asking the assembler to do the impossible.