Re: [Mesa-dev] [PATCH v2] various: Fix missing DumpModule with recent LLVM.

2017-01-30 Thread Marek Olšák
FYI, LLVMDumpModule is back: r293436 - llvm-c: Keep LLVMDumpModule() even in release builds Marek On Mon, Jan 30, 2017 at 3:08 PM, Nicolai Hähnle wrote: > On 28.01.2017 23:08, Bas Nieuwenhuizen wrote: >> >> Since LLVM revision 293359 DumpModule gets only implemented when >> either a debug build

Re: [Mesa-dev] [PATCH v2] various: Fix missing DumpModule with recent LLVM.

2017-01-30 Thread Nicolai Hähnle
On 28.01.2017 23:08, Bas Nieuwenhuizen wrote: Since LLVM revision 293359 DumpModule gets only implemented when either a debug build or LLVM_ENABLE_DUMP is set. This patch adds a direct replacement for the function for radv and radeonsi, However, as I don't know a good place to put common LLVM co

Re: [Mesa-dev] [PATCH v2] various: Fix missing DumpModule with recent LLVM.

2017-01-28 Thread Roland Scheidegger
Reviewed-by: Roland Scheidegger Am 28.01.2017 um 23:08 schrieb Bas Nieuwenhuizen: > Since LLVM revision 293359 DumpModule gets only implemented when > either a debug build or LLVM_ENABLE_DUMP is set. > > This patch adds a direct replacement for the function for radv and > radeonsi, However, as I

[Mesa-dev] [PATCH v2] various: Fix missing DumpModule with recent LLVM.

2017-01-28 Thread Bas Nieuwenhuizen
Since LLVM revision 293359 DumpModule gets only implemented when either a debug build or LLVM_ENABLE_DUMP is set. This patch adds a direct replacement for the function for radv and radeonsi, However, as I don't know a good place to put common LLVM code for all three I inlined the implementation fo