Ignore:
Timestamp:
Oct 4, 2016, 6:05:21 AM (3 years ago)
Author:
cameron
Message:

Engine deletion causes segfaults with LLVM 3.9 changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/symboltable.cpp

    r5101 r5176  
    5353int main(int argc, char *argv[]) {
    5454
    55     Module * M = new Module("symboltable", getGlobalContext());
     55    LLVMContext TheContext;
     56
     57    Module * M = new Module("symboltable", TheContext);
    5658
    5759    IDISA::IDISA_Builder * idb = IDISA::GetIDISA_Builder(M);
Note: See TracChangeset for help on using the changeset viewer.