[clang] a0c1cd6 - [test] Add -triple x86_64 to attr-retain.c
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 26 17:26:32 PST 2021
Author: Fangrui Song
Date: 2021-02-26T17:26:26-08:00
New Revision: a0c1cd642da51ab8f471d2dd5ba905cf81760187
URL: https://github.com/llvm/llvm-project/commit/a0c1cd642da51ab8f471d2dd5ba905cf81760187
DIFF: https://github.com/llvm/llvm-project/commit/a0c1cd642da51ab8f471d2dd5ba905cf81760187.diff
LOG: [test] Add -triple x86_64 to attr-retain.c
Added:
Modified:
clang/test/CodeGen/attr-retain.c
Removed:
################################################################################
diff --git a/clang/test/CodeGen/attr-retain.c b/clang/test/CodeGen/attr-retain.c
index 871065d4fe75..8ac9fefb3c20 100644
--- a/clang/test/CodeGen/attr-retain.c
+++ b/clang/test/CodeGen/attr-retain.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -triple x86_64 %s -o - | FileCheck %s
/// Set !retain regardless of the target. The backend will lower !retain to
/// SHF_GNU_RETAIN on ELF and ignore the metadata for other binary formats.
More information about the cfe-commits
mailing list