[llvm] r250274 - Add a instrumentation test for Linux

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 14 00:24:14 PDT 2015


Author: davidxl
Date: Wed Oct 14 02:24:14 2015
New Revision: 250274

URL: http://llvm.org/viewvc/llvm-project?rev=250274&view=rev
Log:
Add a instrumentation test for Linux

Make sure __llvm_profile_init is not emitted.

Modified:
    llvm/trunk/test/Instrumentation/InstrProfiling/platform.ll

Modified: llvm/trunk/test/Instrumentation/InstrProfiling/platform.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Instrumentation/InstrProfiling/platform.ll?rev=250274&r1=250273&r2=250274&view=diff
==============================================================================
--- llvm/trunk/test/Instrumentation/InstrProfiling/platform.ll (original)
+++ llvm/trunk/test/Instrumentation/InstrProfiling/platform.ll Wed Oct 14 02:24:14 2015
@@ -29,4 +29,5 @@ declare void @llvm.instrprof.increment(i
 ; 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




More information about the llvm-commits mailing list