summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/asan/TestCases/Windows/dll_host.cc
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-07-11 01:18:05 +0000
committerNico Weber <nicolasweber@gmx.de>2019-07-11 01:18:05 +0000
commitda233838c9b07365ad89c91dec336f6edf750c15 (patch)
tree6cf1b0b9ea284cc96d5c27c375142693d8c87d86 /compiler-rt/test/asan/TestCases/Windows/dll_host.cc
parent3ed286a388836d0cdd2c8a19fb4c295a19935b47 (diff)
downloadbcm5719-llvm-da233838c9b07365ad89c91dec336f6edf750c15.tar.gz
bcm5719-llvm-da233838c9b07365ad89c91dec336f6edf750c15.zip
clang-cl: Remove -O0 option
cl.exe doesn't understand it; there's /Od instead. See also the review thread for r229575. Update lots of compiler-rt tests to use -Od instead of -O0. Ran `rg -l 'clang_cl.*O0' compiler-rt/test/ | xargs sed -i -c 's/-O0/-Od/'` Differential Revision: https://reviews.llvm.org/D64506 llvm-svn: 365724
Diffstat (limited to 'compiler-rt/test/asan/TestCases/Windows/dll_host.cc')
-rw-r--r--compiler-rt/test/asan/TestCases/Windows/dll_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/Windows/dll_host.cc b/compiler-rt/test/asan/TestCases/Windows/dll_host.cc
index 9a4181541c4..37aad4800df 100644
--- a/compiler-rt/test/asan/TestCases/Windows/dll_host.cc
+++ b/compiler-rt/test/asan/TestCases/Windows/dll_host.cc
@@ -2,7 +2,7 @@
//
// Just make sure we can compile this.
// The actual compile&run sequence is to be done by the DLL tests.
-// RUN: %clang_cl_asan -O0 %s -Fe%t
+// RUN: %clang_cl_asan -Od %s -Fe%t
//
// Get the list of ASan wrappers exported by the main module RTL:
// note: The mangling decoration (i.e. @4 )is removed because calling convention
OpenPOWER on IntegriCloud