LLVMSymbolize.cpp: Fix build. Triple::ArchType is not a namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186494 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2013-07-17 06:53:51 +00:00
parent df959c70c9
commit 1e65bf2628

View File

@ -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;
}