[LLVMdev] Disabling assertions in llvm.org releases
Török Edwin
edwintorok at gmail.com
Mon Jun 21 03:06:15 PDT 2010
On 06/21/2010 11:18 AM, Duncan Sands wrote:
> Hi Torok,
>
>> I am running with assertions enabled and it was very useful in finding
>> bugs on platforms I can't (or rarely) test on.
>> Had assertions been off I think bad/invalid code would have been
>> generated silently, resulting in a much harder to debug segfault.
>
> are you using the binaries supplied by llvm.org, or building yourself? There
> is a big difference between what is useful for developers (i.e. helpful back
> traces etc) and what is useful for users (i.e. speed). Since developers
> typically build LLVM themselves, they can always turn assertions on.
Right now I am building it myself, but for ClamAV 0.97 I intend to
make it work with the official LLVM 2.8 release (from llvm.org, or
provided via a package in the distribution).
Best regards,
--Edwin
More information about the llvm-dev
mailing list