[llvm] r220767 - [OCaml] Enable -g for debug builds.
Peter Zotov
whitequark at whitequark.org
Fri Oct 31 02:41:16 PDT 2014
On 2014-10-28 09:39, Eric Christopher wrote:
>> -# -g was introduced in 3.10.0.
>> -#ifneq ($(ENABLE_OPTIMIZED),1)
>> -# OCAMLDEBUGFLAG := -g
>> -#endif
>> +ifneq ($(ENABLE_OPTIMIZED),1)
>> + OCAMLDEBUGFLAG := -g
>> +endif
>>
>
> Can't have debug + optimized builds?
Apparently, not (from Makefile.config.in):
# When ENABLE_OPTIMIZED is enabled, LLVM code is optimized and output is
put
# into the "Release" directories. Otherwise, LLVM code is not optimized
and
# output is put in the "Debug" directories.
#ENABLE_OPTIMIZED = 1
@ENABLE_OPTIMIZED@
--
Peter Zotov
More information about the llvm-commits
mailing list