Re: JIT compiling with LLVM v9.1

Поиск
Список
Период
Сортировка
От Andreas Karlsson
Тема Re: JIT compiling with LLVM v9.1
Дата
Msg-id 353b583d-08a2-9097-2224-f2db093d44cf@proxel.se
обсуждение исходный текст
Ответ на Re: JIT compiling with LLVM v9.1  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 02/15/2018 06:23 PM, Andres Freund wrote:
>> 2) When I build with --with-cassert I expect the assertions to be there,
>> both in the binaries and the bitcode. Is that just a bug or is there any
>> thought behind this?
> 
> Not sure what you mean by that. NDEBUG and cassert are independent
> mechanisms, no?

Yeah, I think I just managed to confuse myself there.

The actual issue is that --with-llvm changes if NDEBUG is set or not, 
which is quite surprising. I would not expect assertions to be disabled 
in the fronted code just because I compiled PostgreSQL with llvm.

Andreas


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: FOR EACH ROW triggers on partitioned tables
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: [HACKERS] MERGE SQL Statement for PG11