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)
commitd67186337afba5a0ff1059b9c9efc1cce575f92d
treea9b310716f55278b434fe488202b17ba50e1ed1f
parenta31b0a21c670f18b441b4ca34412d0c4f73b52e7
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).

llvm-svn: 177371
llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
llvm/test/Transforms/GCOVProfiling/linkagename.ll [new file with mode: 0644]