[PATCH] D10524: Clang/driver: emulated TLS mode.

Chih-Hung Hsieh chh at google.com
Mon Jul 27 17:18:33 PDT 2015


chh added inline comments.

================
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
----------------
rnk wrote:
> 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."
Sure. I will fix that before submit.



http://reviews.llvm.org/D10524







More information about the llvm-commits mailing list