[clang] 50de659 - [clang] Use -triple, not -target for %clang_cc1

Alex Brachet via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 7 11:20:01 PDT 2022


Author: Alex Brachet
Date: 2022-04-07T18:19:54Z
New Revision: 50de659adcc19c4c197ba5e9a7719325af7151ee

URL: https://github.com/llvm/llvm-project/commit/50de659adcc19c4c197ba5e9a7719325af7151ee
DIFF: https://github.com/llvm/llvm-project/commit/50de659adcc19c4c197ba5e9a7719325af7151ee.diff

LOG: [clang] Use -triple, not -target for %clang_cc1

Added: 
    

Modified: 
    clang/test/CodeGen/debug-info-alias.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/debug-info-alias.c b/clang/test/CodeGen/debug-info-alias.c
index 5d26b4b8f93d4..1f5e477af96aa 100644
--- a/clang/test/CodeGen/debug-info-alias.c
+++ b/clang/test/CodeGen/debug-info-alias.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -target x86_64-unknown-linux-gnu -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -triple x86_64-unknown-linux-gnu -o - | FileCheck %s
 
 // CHECK-DAG: [[ENTITY1:![0-9]+]] = distinct !DIGlobalVariable(name: "aliased_global"
 // CHECK-DAG: [[ENTITY2:![0-9]+]] = distinct !DIGlobalVariable(name: "aliased_global_2"


        


More information about the cfe-commits mailing list