... to simplify the code a bit.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp | ||
---|---|---|
273 | I am not sure if this is correct. When reaching the end of one MBB, we must be able to use the end label of that MBB and the begin label here. Instead, why don't you change the definition of LastLabel to Then you don't need to change this LastLabel argument here and the line below. | |
517 | Good cleanup! |
Comment Actions
Instead, why don't you change the definition of LastLabel to
MCSymbol *LastLabel = Asm->getFunctionBegin();Then you don't need to change this LastLabel argument here and the line below.
Thanks, good suggestion! Adopted.
Comment Actions
LGTM.
Please just keep in mind that call-site-table is not rigorously tested in LLVM.
I am not sure if this is correct. When reaching the end of one MBB, we must be able to use the end label of that MBB and the begin label here.
Instead, why don't you change the definition of LastLabel to
MCSymbol *LastLabel = Asm->getFunctionBegin();
Then you don't need to change this LastLabel argument here and the line below.