BuildAndIntegration is the configuration used to build Apple-built LLDB. This configuration currently requires NDEBUG to be specified. This change adds a new Xcode variable, LLDB_NDEBUG_CFLAGS, which specifies "-DNDEBUG" when using the BuildAndIntegration configuration, and specifies nothing for all other configurations. All binaries have been modified to include $(LLDB_NDEBUG_CFLAGS) in the full set of other cflags and other cxxflags.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
If we do this the asserts we have will no longer fire. We tend not to use asserts too much, but it would be a good idea to take a look at any asserts in our code to make sure we won't die horribly in other ways that will cause us not to know what crashed us.
Comment Actions
We will need to take a look at the existing assert calls within LLDB and within LLVM to make sure we won't cause things to crash at a later time with no context as to what happened. Any code that asserts should actually be able to continue without problems, but I know that isn't the case for us and certainly isn't for llvm and clang.
Comment Actions
This one needs more analysis.
I'm bowing out of it. Greg, you might want to pick this one up?