From 8ee89c6a7e6a6d152669b3d9422a175ce17cba69 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Wed, 17 Jul 2013 06:53:51 +0000 Subject: [PATCH] LLVMSymbolize.cpp: Fix build. Triple::ArchType is not a namespace. llvm-svn: 186494 --- llvm/tools/llvm-symbolizer/LLVMSymbolize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/llvm-symbolizer/LLVMSymbolize.cpp b/llvm/tools/llvm-symbolizer/LLVMSymbolize.cpp index 4f6e0cf..0346fb2 100644 --- a/llvm/tools/llvm-symbolizer/LLVMSymbolize.cpp +++ b/llvm/tools/llvm-symbolizer/LLVMSymbolize.cpp @@ -282,7 +282,7 @@ LLVMSymbolizer::getOrCreateModuleInfo(const std::string &ModuleName) { // 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; } -- 2.7.4