mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Replace global std::string with const char[]
llvm-svn: 174332
This commit is contained in:
parent
e97a68f8b5
commit
581db2e77f
@ -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…
x
Reference in New Issue
Block a user