r354008 - [NewPM] Add explicit triple to test
Francis Visoiu Mistrih via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 13 20:13:00 PST 2019
Author: thegameg
Date: Wed Feb 13 20:13:00 2019
New Revision: 354008
URL: http://llvm.org/viewvc/llvm-project?rev=354008&view=rev
Log:
[NewPM] Add explicit triple to test
This prevents warnings like:
> warning: overriding the module target triple with x86_64-apple-darwin
on macOS.
Modified:
cfe/trunk/test/CodeGen/asan-new-pm.ll
Modified: cfe/trunk/test/CodeGen/asan-new-pm.ll
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/asan-new-pm.ll?rev=354008&r1=354007&r2=354008&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/asan-new-pm.ll (original)
+++ cfe/trunk/test/CodeGen/asan-new-pm.ll Wed Feb 13 20:13:00 2019
@@ -6,6 +6,8 @@
; RUN: %clang_cc1 -S -emit-llvm -o - -O1 -fexperimental-new-pass-manager -fsanitize=address -flto %s | FileCheck %s --check-prefixes=CHECK,LTO
; RUN: %clang_cc1 -S -emit-llvm -o - -O1 -fexperimental-new-pass-manager -fsanitize=address -flto=thin %s | FileCheck %s --check-prefixes=CHECK,THINLTO
+target triple = "x86_64-unknown-unknown"
+
; DAG-CHECK: @llvm.global_ctors = {{.*}}@asan.module_ctor
define i32 @test_load(i32* %a) sanitize_address {
More information about the cfe-commits
mailing list