[llvm-dev] Errors linking with LLVM 5.0 - dump() missing

David Keaton via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 25 18:03:58 PDT 2017


On 09/25/2017 02:53 PM, Matthias Braun via llvm-dev wrote:
> The dump methods can be included in the release builds anyway by 
> enabling LLVM_ENABLE_DUMP.

      Is there a way to pass LLVM_ENABLE_DUMP into cmake from outside 
without changing any of the configuration files?  With Chapel's use of 
LLVM, we try to avoid modifying any of the source files that come from 
the LLVM distribution.  Our own Makefile that builds Chapel also invokes 
cmake to build LLVM.  I have tried setting environment variables and 
passing command-line arguments, and nothing seems to work.

      I hope I've just done it wrong and there is a way to make this 
work without modifying files from the distribution.  A debug build of 
LLVM is too slow for our purposes, but we need the dump() methods for 
debugging Chapel.

					David


More information about the llvm-dev mailing list