Ignore:
Timestamp:
Mar 22, 2018, 12:44:50 PM (16 months ago)
Author:
cameron
Message:

Fix segfault for -ShowASM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/toolchain/cpudriver.cpp

    r5924 r5928  
    7373    InitializeNativeTargetAsmParser();
    7474    llvm::sys::DynamicLibrary::LoadLibraryPermanently(nullptr);
    75     preparePassManager();
    7675   
    7776
     
    105104        throw std::runtime_error("Could not selectTarget");
    106105    }
    107    
     106    preparePassManager();
     107
    108108#ifdef ORCJIT
    109109    mCompileLayer = make_unique<CompileLayerT>(mObjectLayer, orc::SimpleCompiler(*mTarget));
Note: See TracChangeset for help on using the changeset viewer.