]> granicus.if.org Git - clang/commit
Be more strict when checking the -flto option value
authorYuka Takahashi <yukatkh@gmail.com>
Wed, 14 Jun 2017 15:37:11 +0000 (15:37 +0000)
committerYuka Takahashi <yukatkh@gmail.com>
Wed, 14 Jun 2017 15:37:11 +0000 (15:37 +0000)
commit6bdfcedff7e717de354bac2159980464181618d8
treed6641ce375c70a760debaf1b184d4cc7726caee9
parent6e3d1bf62c66b58287bccc61e6cbab9d0d6395a7
Be more strict when checking the -flto option value

Summary:
It seems -flto must be either "thin" or "full". I think the use of
containValue is just a typo.

Reviewers: ruiu, tejohnson

Subscribers: mehdi_amini, inglorion

Differential Revision: https://reviews.llvm.org/D34055

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305392 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/thinlto-backend-option.ll