[PATCH] D87302: [IRSim][IROutliner] Adding DebugInfo handling for IR outlined functions.
Andrew Litteken via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 10:33:30 PDT 2020
AndrewLitteken created this revision.
AndrewLitteken added a reviewer: paquette.
Herald added subscribers: llvm-commits, hiraditya, kristof.beyls, aprantl.
Herald added a project: LLVM.
AndrewLitteken requested review of this revision.
Including debug instructions from different places in the program could cause issues with debuggers. This makes sure that any debug information about original location in outlined functions is stripped accordingly, and adds new debug information to the outlined functions.
Tests Changed:
- llvm/test/Transforms/IROutliner/legal-debug.ll
New Tests:
- llvm/test/DebugInfo/AArch64/ir-outliner.ll
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87302
Files:
llvm/lib/Transforms/IPO/IROutliner.cpp
llvm/test/DebugInfo/AArch64/ir-outliner.ll
llvm/test/Transforms/IROutliner/legal-debug.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87302.290531.patch
Type: text/x-patch
Size: 12732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200908/ebdcc8a4/attachment.bin>
More information about the llvm-commits
mailing list