[LLVMdev] Segmentation fault - Kaleidoscope

Albert Graef Dr.Graef at t-online.de
Wed Jun 17 12:23:20 PDT 2009


Chris Lattner wrote:
> For JIT applications, please include llvm/Target/TargetSelect.h and  
> call the llvm::InitializeNativeTarget() function before creating an EE.

Couldn't the EE creation functions do this call automatically if no
target has been set yet, instead of just returning a null pointer? For
the sake of backward compatibility.

-- 
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email:  Dr.Graef at t-online.de, ag at muwiinfa.geschichte.uni-mainz.de
WWW:    http://www.musikinformatik.uni-mainz.de/ag



More information about the llvm-dev mailing list