From: Xinliang David Li Date: Wed, 14 Oct 2015 07:24:14 +0000 (+0000) Subject: Add a instrumentation test for Linux X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=69cda669632c0c8f594957afca8f9e1a600c662f 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 --- 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