Emit the linkage name instead of the function name, when available. This means
authorNick Lewycky <nicholas@mxc.ca>
Tue, 19 Mar 2013 01:37:55 +0000 (01:37 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 19 Mar 2013 01:37:55 +0000 (01:37 +0000)
commit5d22d02fac5ef25414c0fdd843b0fabba4998d6e
tree836356f3b1144f91a0d6ff9c7d0d71fea827b424
parent9f2518cdc6321d8cfb16973654df2996bad8ad78
Emit the linkage name instead of the function name, when available. This means
that we'll prefer to emit the mangled C++ name (pending a clang change).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177371 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/GCOVProfiling.cpp
test/Transforms/GCOVProfiling/linkagename.ll [new file with mode: 0644]