[lld] r265255 - [LTO] Reject invalid optimization levels.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 2 20:13:57 PDT 2016
On Sat, Apr 2, 2016 at 7:57 PM, Rui Ueyama <ruiu at google.com> wrote:
> Does it accept --lto-O-1 as optimization level -1? If so, you want to take
> care of that as well.
>
$ /Users/ditaliano/work/llvm/build/./bin/not
/Users/ditaliano/work/llvm/build/./bin/ld.lld -o
/Users/ditaliano/work/llvm/build/tools/lld/test/ELF/lto/Output/opt-level.ll.tmp3
-m elf_x86_64 -e main --lto-O-1
/Users/ditaliano/work/llvm/build/tools/lld/test/ELF/lto/Output/opt-level.ll.tmp.o
invalid optimization level for LTO: -1
Cheers,
--
Davide
"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare
More information about the llvm-commits
mailing list