[llvm] r186494 - LLVMSymbolize.cpp: Fix build. Triple::ArchType is not a namespace.
NAKAMURA Takumi
geek4civic at gmail.com
Tue Jul 16 23:53:51 PDT 2013
Author: chapuni
Date: Wed Jul 17 01:53:51 2013
New Revision: 186494
URL: http://llvm.org/viewvc/llvm-project?rev=186494&view=rev
Log:
LLVMSymbolize.cpp: Fix build. Triple::ArchType is not a namespace.
Modified:
llvm/trunk/tools/llvm-symbolizer/LLVMSymbolize.cpp
Modified: llvm/trunk/tools/llvm-symbolizer/LLVMSymbolize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-symbolizer/LLVMSymbolize.cpp?rev=186494&r1=186493&r2=186494&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-symbolizer/LLVMSymbolize.cpp (original)
+++ llvm/trunk/tools/llvm-symbolizer/LLVMSymbolize.cpp Wed Jul 17 01:53:51 2013
@@ -282,7 +282,7 @@ LLVMSymbolizer::getOrCreateModuleInfo(co
// Verify that substring after colon form a valid arch name.
if (ColonPos != std::string::npos) {
std::string ArchStr = ModuleName.substr(ColonPos + 1);
- if (Triple(ArchStr).getArch() != Triple::ArchType::UnknownArch) {
+ if (Triple(ArchStr).getArch() != Triple::UnknownArch) {
BinaryName = ModuleName.substr(0, ColonPos);
ArchName = ArchStr;
}
More information about the llvm-commits
mailing list