From: Hans Wennborg Date: Mon, 19 May 2014 17:23:01 +0000 (+0000) Subject: test/CodeGenCXX/dllexport.cpp: -O2 and -disable-llvm-optzns aren't nedded X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0974690eb8577492209d255f5b9094628e10c85a;p=clang test/CodeGenCXX/dllexport.cpp: -O2 and -disable-llvm-optzns aren't nedded We only need them on the dllimport.cpp test to make sure that we emit code for available_externaly functions, and don't inline the IR. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209145 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/dllexport.cpp b/test/CodeGenCXX/dllexport.cpp index 372ed8a0b2..7f11d455e3 100644 --- a/test/CodeGenCXX/dllexport.cpp +++ b/test/CodeGenCXX/dllexport.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple i686-pc-win32 -x c++ -O2 -disable-llvm-optzns -emit-llvm < %s | FileCheck %s +// RUN: %clang_cc1 -triple i686-pc-win32 -x c++ -emit-llvm < %s | FileCheck %s #define DLLEXPORT __declspec(dllexport)