[PATCH] D55333: VirtRegMap: Preserve LiveDebugVariables
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 25 08:38:36 PST 2019
qcolombet added inline comments.
================
Comment at: lib/CodeGen/VirtRegMap.cpp:274
+ // Write out new DBG_VALUE instructions.
+ DebugVars->emitDebugValues(VRM);
+
----------------
DebugVars may be nullptr IIRC what getAnalysisIfAvailable API does.
Make sure to test for it.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55333/new/
https://reviews.llvm.org/D55333
More information about the llvm-commits
mailing list