Add logging to a couple of regions of code

llvm-svn: 246580
2 files changed