dump() is only available in debug builds and meant for debugger usage,
normal code should use something like print(errs());
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@293364
91177308-0d34-0410-b5e6-
96231b3b80d8
// Dump the contents of the temporary file if that was requested.
if (DumpTemporaryFiles) {
errs() << ";\n; Object file bundler IR file.\n;\n";
- AuxModule.get()->dump();
+ AuxModule.get()->print(errs(), nullptr,
+ /*ShouldPreserveUseListOrder=*/false,
+ /*IsForDebug=*/true);
+ errs() << '\n';
}
// Find clang in order to create the bundle binary.