[cfe-dev] Curent svn build, generates llvm DEBUG builds

NAKAMURA Takumi geek4civic at gmail.com
Tue Jul 17 02:44:17 PDT 2012

2012/7/17 Unai Landa <ulanda at digital-legends.com>:
> But ig I do so with llc or any other llcm executable I get DEBUG build this;
> LLVM (http://llvm.org/):
>   LLVM version 3.2svn
>   DEBUG build.
>   Built Jul 16 2012 (16:31:02).
>   Default target: i686-pc-win32
>   Host CPU: penryn
>   Registered Targets:
>     arm    - ARM
>     cpp    - C++ backend
>     thumb  - Thumb
>     x86    - 32-bit X86: Pentium-Pro and above
>     x86-64 - 64-bit X86: EM64T and AMD64
>     xcore  - XCore
> Why I get DEBUG builds?

It has been since r29020. :D
depends on definition of __OPTIMIZE__ .

Your llc.exe should be built with Release, if llc is bin/Release/llc.exe .

I won't find corresponding predefinitions in cl.exe.

Shall we suppress the line "DEBUG build." under cl.exe ?


More information about the cfe-dev mailing list