mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
Replace global std::string with const char[]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174332 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3e1635d08c
commit
638c63ccf7
@ -132,7 +132,7 @@ bool ModuleInfo::getNameFromSymbolTable(SymbolRef::Type Type, uint64_t Address,
|
||||
return false;
|
||||
}
|
||||
|
||||
const std::string LLVMSymbolizer::kBadString = "??";
|
||||
const char LLVMSymbolizer::kBadString[] = "??";
|
||||
|
||||
std::string LLVMSymbolizer::symbolizeCode(const std::string &ModuleName,
|
||||
uint64_t ModuleOffset) {
|
||||
|
@ -59,7 +59,7 @@ private:
|
||||
typedef std::map<std::string, ModuleInfo*> ModuleMapTy;
|
||||
ModuleMapTy Modules;
|
||||
Options Opts;
|
||||
static const std::string kBadString;
|
||||
static const char kBadString[];
|
||||
};
|
||||
|
||||
class ModuleInfo {
|
||||
|
Loading…
Reference in New Issue
Block a user