[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
Wed Nov 14 08:28:26 PST 2018


yonghong-song added a comment.

The above segment looks like

  #0  0x00000000000000a1 in ?? ()
  #1  0x0000000001490d63 in clang::SourceManager::~SourceManager() ()
  #2  0x00000000005ad0ee in clang::CompilerInstance::~CompilerInstance() ()
  #3  0x000000000056ad1b in main ()

In my example, I did not implement the customized SourceManager while the real bcc implements it
https://github.com/iovisor/bcc/blob/master/src/cc/bpf_module.cc#L73

I will try to implement this later. With the attached tar file, you should be still observe the missing
file contents. And my patch does fix this particular issue.


Repository:
  rC Clang

https://reviews.llvm.org/D53329





More information about the cfe-commits mailing list