Skip to content

Commit

Permalink
Merge pull request #8706 from crayxt/patch-10
Browse files Browse the repository at this point in the history
MCStreamer::InitSections changed in LLVM_SVN.
  • Loading branch information
Keno committed Oct 17, 2014
2 parents 8e9e68c + a260fab commit de2ba52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/disasm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,11 @@ void jl_dump_function_asm(void *Fptr, size_t Fsize,
#endif
/*useDwarfDirectory*/ true,
IP, CE, MAB, ShowInst));
#ifdef LLVM36
Streamer->InitSections(true);
#else
Streamer->InitSections();
#endif

#ifndef USE_MCJIT // LLVM33 version

Expand Down

0 comments on commit de2ba52

Please sign in to comment.