Loading cc/config/global.go +5 −0 Original line number Diff line number Diff line Loading @@ -140,6 +140,9 @@ var ( "-Werror=format-security", "-nostdlibinc", // Enable MLGO for register allocation. "-mllvm -regalloc-enable-advisor=release", // Emit additional debug info for AutoFDO "-fdebug-info-for-profiling", } Loading Loading @@ -167,6 +170,8 @@ var ( "-Wl,--exclude-libs,libgcc_stripped.a", "-Wl,--exclude-libs,libunwind_llvm.a", "-Wl,--exclude-libs,libunwind.a", // Enable MLGO for register allocation. "-Wl,-mllvm,-regalloc-enable-advisor=release", } deviceGlobalLldflags = append(deviceGlobalLdflags, commonGlobalLldflags...) Loading Loading
cc/config/global.go +5 −0 Original line number Diff line number Diff line Loading @@ -140,6 +140,9 @@ var ( "-Werror=format-security", "-nostdlibinc", // Enable MLGO for register allocation. "-mllvm -regalloc-enable-advisor=release", // Emit additional debug info for AutoFDO "-fdebug-info-for-profiling", } Loading Loading @@ -167,6 +170,8 @@ var ( "-Wl,--exclude-libs,libgcc_stripped.a", "-Wl,--exclude-libs,libunwind_llvm.a", "-Wl,--exclude-libs,libunwind.a", // Enable MLGO for register allocation. "-Wl,-mllvm,-regalloc-enable-advisor=release", } deviceGlobalLldflags = append(deviceGlobalLdflags, commonGlobalLldflags...) Loading