OSDN Git Service

Fix CodeGenCXX/difile_entry.cpp on Windows
authorFangrui Song <i@maskray.me>
Sat, 9 Jan 2021 08:46:02 +0000 (00:46 -0800)
committerFangrui Song <i@maskray.me>
Sat, 9 Jan 2021 08:46:02 +0000 (00:46 -0800)
clang/test/CodeGenCXX/difile_entry.cpp

index 9ef80fe..1ae36e4 100644 (file)
@@ -2,7 +2,7 @@
 // RUN: mkdir -p %t/test_dir
 // RUN: cd %t/test_dir
 // RUN: cp %s .
-// RUN: %clang_cc1 -main-file-name difile_entry.cpp  -debug-info-kind=limited ../test_dir/difile_entry.cpp -std=c++11 -emit-llvm -o - | FileCheck  ../test_dir/difile_entry.cpp
+// RUN: %clang_cc1 -triple %itanium_abi_triple -main-file-name difile_entry.cpp -debug-info-kind=limited ../test_dir/difile_entry.cpp -std=c++11 -emit-llvm -o - | FileCheck  ../test_dir/difile_entry.cpp
 int x();
 static int i = x();