[llvm] [RemoveDIs] Read/write DbgRecords directly from/to bitcode (PR #83251)
Orlando Cazalet-Hyams via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 7 03:28:21 PST 2024
================
@@ -615,6 +616,8 @@ Value *IRLinker::materialize(Value *V, bool ForIndirectSymbol) {
// If we already created the body, just return.
if (auto *F = dyn_cast<Function>(New)) {
+ if (auto *OldFunc = dyn_cast<Function>(SGV))
+ F->IsNewDbgInfoFormat = OldFunc->IsNewDbgInfoFormat;
----------------
OCHyams wrote:
This was left over from moving the "line through llvm" around a bit. It's not needed anymore, deleted. Good catch!
https://github.com/llvm/llvm-project/pull/83251
More information about the llvm-commits
mailing list