[Lldb-commits] [PATCH] Fix asserts in debugserver with side effects
Charles Davis
cdavis at mymail.mines.edu
Mon Feb 20 16:39:45 PST 2012
Hi,
I'm working on trying to get debugserver built from the Makefile system, and I've run into a bug.
If NDEBUG is defined, debugserver will actually break. Since there are no #ifdef NDEBUGs anywhere in the source, this indicates to me that an assert(3) expression somewhere contains a side effect. This patch should fix all the assertions in debugserver not to have side effects, and get it working in a Release build.
OK to commit? (Note that I have commit privileges to all LLVM repositories, including LLDB.)
Chip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnb-assert-fix.patch
Type: application/octet-stream
Size: 824 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20120220/ba9257e6/attachment.obj>
More information about the lldb-commits
mailing list