[llvm-branch-commits] [clang] 052b8fe - Fix CodeGenCXX/difile_entry.cpp on Windows

Fangrui Song via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Jan 9 00:50:40 PST 2021


Author: Fangrui Song
Date: 2021-01-09T00:46:02-08:00
New Revision: 052b8fe478194018944eac944af7ca853ec3ced7

URL: https://github.com/llvm/llvm-project/commit/052b8fe478194018944eac944af7ca853ec3ced7
DIFF: https://github.com/llvm/llvm-project/commit/052b8fe478194018944eac944af7ca853ec3ced7.diff

LOG: Fix CodeGenCXX/difile_entry.cpp on Windows

Added: 
    

Modified: 
    clang/test/CodeGenCXX/difile_entry.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGenCXX/difile_entry.cpp b/clang/test/CodeGenCXX/difile_entry.cpp
index 9ef80fe8184c..1ae36e4355ce 100644
--- a/clang/test/CodeGenCXX/difile_entry.cpp
+++ b/clang/test/CodeGenCXX/difile_entry.cpp
@@ -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();
 


        


More information about the llvm-branch-commits mailing list