This patch propagates the -moutline flag when LTO is enabled and avoids passing it explicitly to the linker plugin.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
| Time | Test | |
|---|---|---|
| 17,280 ms | x64 debian > LLVM.Bindings/Go::go.test | |
| 60 ms | x64 windows > LLVM.CodeGen/XCore::threads.ll |
clang-format: please reformat the code
- if (Arg *A = Args.getLastArg(options::OPT_moutline, - options::OPT_mno_outline)) { + if (Arg *A = + Args.getLastArg(options::OPT_moutline, options::OPT_mno_outline)) {