================
@@ -1444,6 +1444,29 @@ void CodeGenAction::executeAction() {
llvmModule->setTargetTriple(theTriple);
llvmModule->setDataLayout(theTriple.computeDataLayout(targetOpts.abi));
+ // -fkeep-inline-functions: retain definitions of inline functions (those
+ // marked alwaysinline) after they have been inlined into every caller.
+ // On ELF this uses llvm.compiler.used so the compiler keeps the definition
+ // but the linker may still drop it. Other object formats use llvm.used.
+ // This is matching Clang functionality.Only functions defined in this
----------------
shivaramaarao wrote:
addressed these comments. please review. thanks.
https://github.com/llvm/llvm-project/pull/230007
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits