OSDN Git Service

llvm-c: Keep LLVMDumpModule() even in release builds
authorMatthias Braun <matze@braunis.de>
Sun, 29 Jan 2017 17:52:03 +0000 (17:52 +0000)
committerMatthias Braun <matze@braunis.de>
Sun, 29 Jan 2017 17:52:03 +0000 (17:52 +0000)
commit1a20e3f2d5e18576b30ea0a4d000f7373a6969d8
tree42d03e1e4252629121cecc541fa597b486cc74e3
parent3a412958e733be7e075cf5e80d0cdfc54a086c8c
llvm-c: Keep LLVMDumpModule() even in release builds

While this probably should be considered a dump debugger utility, the C
API currently has no other ways to print a module to stderr for error
reporting purposes, so keep it even in release builds.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293436 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Core.cpp