Go to file
Zola Bridges c866679a9b [clang][slh] Forward mSLH only to Clang CC1
Summary:
-mno-speculative-load-hardening isn't a cc1 option, therefore,
before this change:

clang -mno-speculative-load-hardening hello.cpp

would have the following error:

error: unknown argument: '-mno-speculative-load-hardening'

This change will only ever forward -mspeculative-load-hardening
which is a CC1 option based on which flag was passed to clang.

Also added a test that uses this option that fails if an error like the
above is ever thrown.

Thank you ericwf for help debugging and fixing this error.

Reviewers: chandlerc, EricWF

Subscribers: llvm-commits

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

llvm-svn: 347582
2018-11-26 18:13:31 +00:00
clang [clang][slh] Forward mSLH only to Clang CC1 2018-11-26 18:13:31 +00:00
clang-tools-extra [clangd] Do not drop diagnostics from macros 2018-11-26 17:05:13 +00:00
compiler-rt [X86][compiler-rt] Add missing semicolon 2018-11-24 20:57:03 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc r600: Add datalayout to image builtin implementation 2018-11-10 21:43:40 +00:00
libcxx [libcxx] Fix XFAIL for aligned deallocation test with trunk Clang 2018-11-26 17:47:16 +00:00
libcxxabi [CMake] Passthrough CFLAGS when checking the compiler-rt path 2018-11-14 00:09:26 +00:00
libunwind [CMake] Passthrough CFLAGS when checking the compiler-rt path 2018-11-14 00:09:26 +00:00
lld [LLD][ELF] - Added a test for "-image-base: number expected" message. NFC. 2018-11-26 13:15:57 +00:00
lldb [lit] Fully qualify lit_config to avoid runtime crashes. 2018-11-26 17:39:20 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm Delete dead code introduced in r347354. 2018-11-26 17:51:27 +00:00
openmp [OPENMP][NVPTX]Improved lock/critical constructs. 2018-11-20 20:19:36 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [CMake] Fix generation of exported targets in build directory 2018-11-06 15:18:17 +00:00
README.md Update the project name in README.md 2018-10-19 00:03:01 +00:00

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.