davidxl added a comment. Looks good with the minor fix. ================ Comment at: lib/Transforms/Instrumentation/PGOInstrumentation.cpp:309 @@ +308,3 @@ + +#if 0 +class PGOGenFunc { ---------------- Remove unused code. http://reviews.llvm.org/D12781