search for: diag_level

Displaying 2 results from an estimated 2 matches for "diag_level".

Did you mean: dbg_level
2010 Jun 20
2
[LLVMdev] Disabling assertions in llvm.org releases
Török Edwin schrieb: > Had assertions been off I think bad/invalid code would have been > generated silently, resulting in a much harder to debug segfault. Just a thought: how about distributing a "production build" with only the most important assertions active, and a "diagnostic build" that has all assertion checking on? In that case, if there's "funny
2010 Jun 20
0
[LLVMdev] Disabling assertions in llvm.org releases
...build with diagnostic flags. Maybe if distributions had two packages (prod / diag) that could make it easier. Run time checks are no good, too. The similar of a -vvv flag would avoid multiple versions of the compiler installed, but that also has performance issues, as you always have the "if (diag_level > X)" before each assert. As always, a trade off. Btw, has anyone measured the delay of full assertions compared to no assertions at all? We may be discussing over nothing... cheers, --renato