karies added a comment. To be clear: emitting annotations will trigger the determination of `PresumedLoc`s. As part of that (but not the first part, IIRC) `SourceManager::getBufferName(()` will be called which will trigger the `fopen` of the file, just to get its name. Another task of `PresumedLoc` is to determine the line number which triggers an `fopen`; @v.g.vassilev is looking into a possible solution for that one.
Repository: rL LLVM https://reviews.llvm.org/D34985 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits