[PATCH] D12087: always_inline codegen rewrite
Evgeniy Stepanov via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 11 17:46:39 PDT 2015
eugenis added inline comments.
================
Comment at: lib/CodeGen/CodeGenModule.cpp:543
@@ +542,3 @@
+ if (Fn->isUsedByMetadata())
+ llvm::ValueAsMetadata::handleRAUW(Fn, StubFn);
+}
----------------
As the comment says.
W/o this, the debug info for .alwaysinline instructions is attached to the .alwaysinline function, which gets deleted before codegen, and we end up with DI as if it is just a declaration (no low/high pc, etc).
Repository:
rL LLVM
http://reviews.llvm.org/D12087
More information about the cfe-commits
mailing list