aports/community/imhex/itanium-demangle.patch
Celeste 28992fb800 community/imhex: move from testing
also, add llvm-gtest to makedepends to provide
libLLVMTestingAnnotations.a needed by LLVMExports.cmake
2023-11-07 11:57:49 +00:00

12 lines
597 B
Diff

--- a/main/source/crash_handlers.cpp
+++ b/main/source/crash_handlers.cpp
@@ -143,7 +143,7 @@
try {
std::rethrow_exception(std::current_exception());
} catch (std::exception &ex) {
- std::string exceptionStr = hex::format("{}()::what() -> {}", llvm::itaniumDemangle(typeid(ex).name(), nullptr, nullptr, nullptr), ex.what());
+ std::string exceptionStr = hex::format("{}()::what() -> {}", llvm::itaniumDemangle(typeid(ex).name()), ex.what());
log::fatal("Program terminated with uncaught exception: {}", exceptionStr);
}