From 69cda669632c0c8f594957afca8f9e1a600c662f Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Wed, 14 Oct 2015 07:24:14 +0000 Subject: [PATCH] Add a instrumentation test for Linux Make sure __llvm_profile_init is not emitted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250274 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Instrumentation/InstrProfiling/platform.ll | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Instrumentation/InstrProfiling/platform.ll b/test/Instrumentation/InstrProfiling/platform.ll index cc380d54bd5..e2c3839d4f1 100644 --- a/test/Instrumentation/InstrProfiling/platform.ll +++ b/test/Instrumentation/InstrProfiling/platform.ll @@ -29,4 +29,5 @@ declare void @llvm.instrprof.increment(i8*, i64, i32, i32) ; BSD: define internal void @__llvm_profile_register_functions ; MACHO-NOT: define internal void @__llvm_profile_init +; LINUX-NOT: define internal void @__llvm_profile_init ; BSD: define internal void @__llvm_profile_init -- 2.34.1