leonardchan added a subscriber: mcgrathr.
leonardchan added a comment.

Putting this on hold for now. Although this implementation works for ASan, it 
would be have to be repeated for other tools like SourceBasedCoverage or other 
sanitizers.

After discussing with @phosek and @mcgrathr, a more general approach would be 
to develop some internal API that allows users to get SourceLocations for 
metadata or other paths that will be embeded in IR. Then once we have a single 
source for retrieving these paths, we could apply `-ffile-prefix-mapping`s once 
to prevent having to propagate the mapping down to IR.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76416/new/

https://reviews.llvm.org/D76416



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to