summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
diff options
context:
space:
mode:
authorZola Bridges <zbrid@google.com>2018-11-26 18:13:31 +0000
committerZola Bridges <zbrid@google.com>2018-11-26 18:13:31 +0000
commitc866679a9b22a88ad4849902dec68cb2af2e5d0c (patch)
tree132dea311c297246cee5fe9bee7063a0dabae89a /clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
parente381120477eeb22eb1aecf3ba024ecf7d191cf4e (diff)
downloadbcm5719-llvm-c866679a9b22a88ad4849902dec68cb2af2e5d0c.tar.gz
bcm5719-llvm-c866679a9b22a88ad4849902dec68cb2af2e5d0c.zip
[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
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud