summaryrefslogtreecommitdiffstats
path: root/llvm/test/Instrumentation/InstrProfiling
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2015-10-14 07:24:14 +0000
committerXinliang David Li <davidxl@google.com>2015-10-14 07:24:14 +0000
commitfb821f9c01b5ce1cab405190086770686454d558 (patch)
tree62563d4f476bdd9bb0bbe2e1528350ad39985713 /llvm/test/Instrumentation/InstrProfiling
parent2eab17737d44c4bca1f5cdfba5f0a586a102d0fd (diff)
downloadbcm5719-llvm-fb821f9c01b5ce1cab405190086770686454d558.tar.gz
bcm5719-llvm-fb821f9c01b5ce1cab405190086770686454d558.zip
Add a instrumentation test for Linux
Make sure __llvm_profile_init is not emitted. llvm-svn: 250274
Diffstat (limited to 'llvm/test/Instrumentation/InstrProfiling')
-rw-r--r--llvm/test/Instrumentation/InstrProfiling/platform.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Instrumentation/InstrProfiling/platform.ll b/llvm/test/Instrumentation/InstrProfiling/platform.ll
index cc380d54bd5..e2c3839d4f1 100644
--- a/llvm/test/Instrumentation/InstrProfiling/platform.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud