[PATCH] [sanitizer] Fix log_path behavior with StopTheWorld.

Alexey Samsonov samsonov at google.com
Tue Dec 3 06:24:30 PST 2013


  IMO it's not an excuse to add that much complexity. The code is bad already, and this change makes these subtle modifications of global state worse. If we decide to use a single file for parent and tracer task, we may just pass a "log_pid" parameter into MaybeOpenReportFile() function, that would generally be just "internal_getpid()", but be the pid of parent process inside tracer task.

http://llvm-reviews.chandlerc.com/D2306



More information about the llvm-commits mailing list