Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REX]: supporting stacktrace output when the compiler(rose-cc, etc) i…
…s aborted because of calling ASSERT_* related mlogging or ROSE_ASSERT/ROSE_ABORT. The implementation uses boost stacktrace in mlog.C file, but must be enabled in the configure/building of the whole source tree. To enable it, set CFLAGS/CXXFLAGS/LDFLAGS for configure, e.g. CXXFLAGS="-DBOOST_STACKTRACE_LINK -DREX_STACKTRACE_ABORT_BOOST" CFLAGS="-DBOOST_STACKTRACE_LINK -DREX_STACKTRACE_ABORT_BOOST" LDFLAGS="-lboost_stacktrace_backtrace" These compiler and linker lags can be passed to --with-DEBUG, -with-C_DEBUG, or -with-CXX_DEBUG of the configure, but setting directly via CFLAGS/CXXFLAGS/LDFLAGS seems to be easier to use.
- Loading branch information