From dcb9d2a185007129481db156cf96c8749a15b0ed Mon Sep 17 00:00:00 2001 From: Nicholas Miell Date: Mon, 26 Aug 2013 14:48:08 -0700 Subject: [PATCH] [R600] Tell LLVM not to register signal handlers In the most horrible way possible, naturally. --- src/gallium/drivers/r600/r600_shader.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 300b5c4..293b41b 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -1119,6 +1119,9 @@ static int r600_shader_from_tgsi(struct r600_screen *rscreen, /* LLVM backend setup */ #ifdef R600_USE_LLVM if (use_llvm) { + extern unsigned char _ZN4llvm23DisablePrettyStackTraceE; + _ZN4llvm23DisablePrettyStackTraceE = 1; + struct radeon_llvm_context radeon_llvm_ctx; LLVMModuleRef mod; bool dump = r600_can_dump_shader(rscreen, ctx.type); -- 1.8.3.1