[LLVMdev] PR723: Default To Optimized Build

John Criswell criswell at cs.uiuc.edu
Mon Mar 27 09:34:41 PST 2006


Reid Spencer wrote:
> Developers:
> 
> Please visit PR723 http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=723,
> read it and cast your vote on whether release 1.7 should default the
> configure script to building optimized or whether the status quo (debug
> build) should be kept.  It is likely that we now have more active users
> than active developers and we should respond to that change of
> circumstances with the default build configuration.

One consideration to weigh is that a debug build of LLVM provides users 
with more diagnostic information to submit with bug reports (since many 
bugs are caught by assertions, which print a readable stack trace).  The 
tradeoff seems to be faster and smaller LLVM tools (optimized build) vs. 
better diagnostic information for bug reports (debug build).

If the LLVM developers who regularly fix user bugs depend on that 
information, we should keep it a debug build by default.  Otherwise, I 
think an optimized build would be fine.

-- John T.

> 
> Reid.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev


-- 
John T. Criswell
Research Programmer
University of Illinois at Urbana-Champaign
"It's today!" said Piglet. "My favorite day," said Pooh.




More information about the llvm-dev mailing list