From 2fe531cb0756aa85c09f016ede88a94bc0818a5c Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Mon, 17 Mar 2014 21:18:30 +0000 Subject: PGO: Statically generate data structures In instrumentation-based profiling, we need a set of data structures to represent the counters. Previously, these were built up during static initialization. Now, they're shoved into a specially-named section so that they show up as an array. As a consequence of the reorganizing symbols, instrumentation data structures for linkonce functions are now correctly coalesced. This is the first step in a larger project to minimize runtime overhead and dependencies in instrumentation-based profilng. The larger picture includes removing all initialization overhead and making the dependency on libc optional. llvm-svn: 204080 --- clang/test/Profile/c-counter-overflows.c | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/test/Profile/c-counter-overflows.c') diff --git a/clang/test/Profile/c-counter-overflows.c b/clang/test/Profile/c-counter-overflows.c index 17cf3a36653..7cbe9bba869 100644 --- a/clang/test/Profile/c-counter-overflows.c +++ b/clang/test/Profile/c-counter-overflows.c @@ -5,7 +5,6 @@ typedef unsigned long long uint64_t; -// PGOGEN: @[[MAIN:__llvm_pgo_ctr[0-9]*]] = private global [2 x i64] zeroinitializer int main(int argc, const char *argv[]) { // Need counts higher than 32-bits. // CHECK: br {{.*}} !prof ![[FOR:[0-9]+]] -- cgit v1.2.3