summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/codegen.test
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2017-04-12 20:58:33 +0000
committerDavid Blaikie <dblaikie@gmail.com>2017-04-12 20:58:33 +0000
commitf63556d8b44b209e741833b0e6be3f8e72a1d91a (patch)
treeba003bf67e52c55b5e9e1808b07ca4280d39da30 /clang/test/Modules/codegen.test
parent05bf27ac3f560cc798b20a352450d3b6bc20e72b (diff)
downloadbcm5719-llvm-f63556d8b44b209e741833b0e6be3f8e72a1d91a.tar.gz
bcm5719-llvm-f63556d8b44b209e741833b0e6be3f8e72a1d91a.zip
Modular Codegen: Separate flags for function and debug info support
This allows using and testing these two features separately. (noteably, debug info is, so far as I know, always a win (basically). But function modular codegen is currently a loss for highly optimized code - where most of the linkonce_odr definitions are optimized away, so providing weak_odr definitions is only overhead) llvm-svn: 300104
Diffstat (limited to 'clang/test/Modules/codegen.test')
-rw-r--r--clang/test/Modules/codegen.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Modules/codegen.test b/clang/test/Modules/codegen.test
index ce252e89ebd..e8faa12fd94 100644
--- a/clang/test/Modules/codegen.test
+++ b/clang/test/Modules/codegen.test
@@ -1,7 +1,7 @@
RUN: rm -rf %t
REQUIRES: x86-registered-target
-RUN: %clang_cc1 -triple=x86_64-linux-gnu -fmodules-codegen -x c++ -fmodules -emit-module -fmodule-name=foo %S/Inputs/codegen/foo.modulemap -o %t/foo.pcm
+RUN: %clang_cc1 -triple=x86_64-linux-gnu -fmodules-codegen -fmodules-debuginfo -x c++ -fmodules -emit-module -fmodule-name=foo %S/Inputs/codegen/foo.modulemap -o %t/foo.pcm
RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -debug-info-kind=limited -o - %t/foo.pcm | FileCheck --check-prefix=FOO --check-prefix=BOTH %s
RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -debug-info-kind=limited -o - -fmodules -fmodule-file=%t/foo.pcm %S/Inputs/codegen/use.cpp | FileCheck --check-prefix=BOTH --check-prefix=USE %s
OpenPOWER on IntegriCloud