mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
1 parent
799c699101
commit
c9fc8bd802
46 files changed
+479
-846
No files matched your search
@@ -438,6 +438,7 @@ static LLVMValueRef fn_llvm_value(CodeGen *g, FnTableEntry *fn_table_entry) {
|
||||
}
|
||||
|
||||
addLLVMFnAttr(fn_table_entry->llvm_value, "nounwind");
|
||||
addLLVMFnAttr(fn_table_entry->llvm_value, "nobuiltin");
|
||||
if (g->build_mode == BuildModeDebug && fn_table_entry->fn_inline != FnInlineAlways) {
|
||||
ZigLLVMAddFunctionAttr(fn_table_entry->llvm_value, "no-frame-pointer-elim", "true");
|
||||
ZigLLVMAddFunctionAttr(fn_table_entry->llvm_value, "no-frame-pointer-elim-non-leaf", nullptr);
|
||||
|
||||
Reference in new issue
Block a user