Code didn't compile in a release build. Guard debug output with
ifndef NDEBUG.
Differential Revision: https://reviews.llvm.org/D83628
}
#endif
- const uint8_t *lsda = _Unwind_GetLanguageSpecificData(context);
+ const uint8_t *lsda = (const uint8_t *)_Unwind_GetLanguageSpecificData(context);
#ifdef DEBUG
fprintf(stderr,
executionEngine->finalizeObject();
+#ifndef NDEBUG
fprintf(stderr, "\nBegin module dump:\n\n");
module->dump();
fprintf(stderr, "\nEnd module dump:\n");
+#endif
fprintf(stderr, "\n\nBegin Test:\n");