[PATCH] D27597: [DebugInfo] Restore test case for long double constants.

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 13 15:06:41 PST 2016

probinson added a comment.

As dblaikie said in email, probably better to make this X86-specific; if long-double varies by OS you can put in a specific triple.

FTR we don't rely on Perl being available everywhere, anything that does this kind of scripty stuff uses Python.

Comment at: test/CodeGen/debug-info-static-const-fp.c:1
-// RUN: %clang -emit-llvm -O0 -S -g %s -o - | FileCheck %s
+// RUN: %clang -emit-llvm -O0 -S -g %s -o %t
+// RUN: perl <%t >%t-check-prefix -n -e                                      \
Sorry didn't notice this before, %clang is for driver tests only; use %clang_cc1 here.


More information about the cfe-commits mailing list