diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-20 19:23:46 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-20 19:23:46 +0000 |
| commit | 8c3d0e7f4c2781bda631fbae86ab24b7334df1d7 (patch) | |
| tree | ea0fe5134f07d015415b507cf37c2f2d0973cfb0 /lib/CodeGen/CGExpr.cpp | |
| parent | d3bf5b7e901fa57569454195ad7d571859015c6c (diff) | |
| download | clang-8c3d0e7f4c2781bda631fbae86ab24b7334df1d7.tar.gz clang-8c3d0e7f4c2781bda631fbae86ab24b7334df1d7.tar.bz2 clang-8c3d0e7f4c2781bda631fbae86ab24b7334df1d7.tar.xz | |
PGO: Remove explicit static initialization
Remove the remaining explicit static initialization from translation
units, at least on Darwin. Instead, create a use of __llvm_pgo_runtime,
which will pull in required code from compiler-rt.
After this commit (and its pair in compiler-rt), a user can define their
own __llvm_pgo_runtime to satisfy this undefined symbol and call the
functions in compiler-rt directly.
<rdar://problem/15943240>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
