I've read this patch better, and it looks good to me. Feel free to wait for Dave's review too if you want. I know he has been staring at MemoryBuffer more than I have recently, and thats most of what is changing here. http://llvm-reviews.chandlerc.com/D2962