summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-17 21:18:24 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-17 21:18:24 +0000
commit77a88e3064aaf1aab29886eb349cfc92fcf80efc (patch)
treec94decb9496e3b92e4a231b32968bd9571747d98 /clang/lib/CodeGen/CodeGenFunction.cpp
parent7ec93f9b1c17c389a3e8a78c43f4178aa9ed1e72 (diff)
downloadbcm5719-llvm-77a88e3064aaf1aab29886eb349cfc92fcf80efc.tar.gz
bcm5719-llvm-77a88e3064aaf1aab29886eb349cfc92fcf80efc.zip
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. <rdar://problem/15943240> llvm-svn: 204079
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud