[LLVMdev] Bad DataLayout ctor used

Mingjie Xing mingjie.xing at gmail.com
Wed Jun 25 02:53:30 PDT 2014


Hello,

When I run such a command,

  $ opt -disable-output -bounds-checking < /dev/null

I got an error message,

  LLVM ERROR: Bad DataLayout ctor used.  Tool did not specify a
DataLayout to use?

Is it a bug? Or what should I do, if I want to run a pass in opt,
which requires DataLayout?

Best regards,
Mingjie



More information about the llvm-dev mailing list