if (log)
log->Printf("warning: need to create artificial method for 0x%8.8x for "
"method '%s'",
- dst_die.GetOffset(), dst_name_artificial);
+ dst_die.GetOffset(), dst_name_artificial.str().c_str());
failures.Append(dst_die);
}
llvm::StringRef cstr = m_map.GetCStringAtIndex(i);
const DIERef &die_ref = m_map.GetValueAtIndexUnchecked(i);
s->Printf("%p: {0x%8.8x/0x%8.8x} \"%s\"\n", (const void *)cstr.data(),
- die_ref.cu_offset, die_ref.die_offset, cstr);
+ die_ref.cu_offset, die_ref.die_offset, cstr.str().c_str());
}
}