[PATCH] D36805: [Debug info] Teach the SDag type legalizer how to split up debug info for integer values that are split into a hi and lo part.
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 17 09:26:27 PDT 2017
aprantl accepted this revision.
aprantl added a comment.
This revision is now accepted and ready to land.
Thanks!
================
Comment at: llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:853
+ const Module *M = DAG.getMachineFunction().getMMI().getModule();
+ M->getNamedMetadata("llvm.dbg.mir")->addOperand(Fragment);
+ }
----------------
No need to do this now, but we might want to think about adding this functionality either to DIBuilder or IR/DebugInfo.cpp
Repository:
rL LLVM
https://reviews.llvm.org/D36805
More information about the llvm-commits
mailing list