[PATCH] D10524: Clang/driver: emulated TLS mode.
Reid Kleckner
rnk at google.com
Mon Jul 27 14:59:34 PDT 2015
rnk accepted this revision.
rnk added a reviewer: rnk.
rnk added a comment.
This revision is now accepted and ready to land.
lgtm
================
Comment at: test/CodeGenCXX/cxx11-thread-local.cpp:2
@@ -1,1 +1,3 @@
// RUN: %clang_cc1 -std=c++11 -emit-llvm %s -o - -triple x86_64-linux-gnu | FileCheck %s
+// RUN: %clang -std=c++11 -v -femulated-tls -S -emit-llvm %s -o - \
+// RUN: -target x86_64-linux-gnu 2>&1 | FileCheck --check-prefix=CHECK --check-prefix=EMU %s
----------------
I also meant for this comment to apply here:
"We try to use %clang_cc1 outside of driver tests. We can check for the -femulated-tls flag easily in the driver, and then use the cc1 interface directly."
http://reviews.llvm.org/D10524
More information about the llvm-commits
mailing list