mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
Use the correct index variable. This is the meat of what was supposed to be in
r176751. Also, learn a lesson about applying patches by hand/eyeball. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176764 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -668,7 +668,7 @@ void GCOVProfiler::insertCounterWriteout(
|
|||||||
for (unsigned j = 0, e = CountersBySP.size(); j != e; ++j) {
|
for (unsigned j = 0, e = CountersBySP.size(); j != e; ++j) {
|
||||||
DISubprogram SP(CountersBySP[j].second);
|
DISubprogram SP(CountersBySP[j].second);
|
||||||
Builder.CreateCall3(EmitFunction,
|
Builder.CreateCall3(EmitFunction,
|
||||||
Builder.getInt32(i),
|
Builder.getInt32(j),
|
||||||
NoFunctionNamesInData ?
|
NoFunctionNamesInData ?
|
||||||
Constant::getNullValue(Builder.getInt8PtrTy()) :
|
Constant::getNullValue(Builder.getInt8PtrTy()) :
|
||||||
Builder.CreateGlobalStringPtr(SP.getName()),
|
Builder.CreateGlobalStringPtr(SP.getName()),
|
||||||
|
Reference in New Issue
Block a user