mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
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:
parent
df959c70c9
commit
1e65bf2628
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user