mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 03:32:21 +00:00
Pass by pointer and not std::string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162888 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6efbd2145
commit
73996f4407
@ -91,7 +91,7 @@ namespace {
|
||||
void insertCounterWriteout(ArrayRef<std::pair<GlobalVariable*, MDNode*> >);
|
||||
void insertIndirectCounterIncrement();
|
||||
|
||||
std::string mangleName(DICompileUnit CU, std::string NewStem);
|
||||
std::string mangleName(DICompileUnit CU, const char *NewStem);
|
||||
|
||||
bool EmitNotes;
|
||||
bool EmitData;
|
||||
@ -328,7 +328,7 @@ namespace {
|
||||
};
|
||||
}
|
||||
|
||||
std::string GCOVProfiler::mangleName(DICompileUnit CU, std::string NewStem) {
|
||||
std::string GCOVProfiler::mangleName(DICompileUnit CU, const char *NewStem) {
|
||||
if (NamedMDNode *GCov = M->getNamedMetadata("llvm.gcov")) {
|
||||
for (int i = 0, e = GCov->getNumOperands(); i != e; ++i) {
|
||||
MDNode *N = GCov->getOperand(i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user