[PATCH] D53329: Generate DIFile with main program if source is not available

Yonghong Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 16 10:21:09 PDT 2018


yonghong-song added a comment.

In the above `/virtual/main.c` is a memory mapped file. The `invocation0.getPreprocessorOpts().addRemappedFile(...)` adds the mapping
for the compilation.


Repository:
  rC Clang

https://reviews.llvm.org/D53329





More information about the cfe-commits mailing list