weimingz added a comment. In http://reviews.llvm.org/D13150#253180, @vsk wrote: > Is it possible to add a test for this? E.g something that would force the debug message to be printed without your patch. Sure. Please review patch set 2. http://reviews.llvm.org/D13150