jansvoboda11 wrote:

You can set these separately based on your needs. If you look at `cc1_main()`, 
it only sets the VFS, but not the `FileManger`. There are situations, where the 
`FileManager` is set later, for example when loading an `ASTUnit`. Similarly, 
`SourceManager` is not always needed - it's set even later in 
`FrontendAction::BeginSourceFile()`. The only rule is that you need to set them 
up in order, but where you stop depends on your tool's needs. This was the case 
even before this PR.

https://github.com/llvm/llvm-project/pull/164323
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to