diff options
| author | Hal Finkel <hfinkel@anl.gov> | 2014-03-30 13:00:06 +0000 |
|---|---|---|
| committer | Hal Finkel <hfinkel@anl.gov> | 2014-03-30 13:00:06 +0000 |
| commit | b23fde6184034f196e94984ef94dcbfc87a8b826 (patch) | |
| tree | 51b7a7cb22bafec2de59beb93e4a8d9bf545414e /lib/CodeGen/CGExpr.cpp | |
| parent | 476dc338d930acc8b52af88b3cf5272762b88033 (diff) | |
| download | clang-b23fde6184034f196e94984ef94dcbfc87a8b826.tar.gz clang-b23fde6184034f196e94984ef94dcbfc87a8b826.tar.bz2 clang-b23fde6184034f196e94984ef94dcbfc87a8b826.tar.xz | |
[PowerPC] Make -pg generate calls to _mcount not mcount
At least on REL6 (Linux/glibc 2.12), the proper symbol for generating gprof
data is _mcount, not mcount. Prior to this change, compiling with -pg would
generate linking errors (because of unresolved references to mcount), after
this change -pg seems at least minimally functional.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205144 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
