[Lldb-commits] [clang] [clang-tools-extra] [lldb] [llvm] Propagate IsText parameter to openFileForRead function (PR #110661)
Abhina Sree via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 2 10:27:51 PDT 2024
abhina-sree wrote:
> > sorry this is same as #107906 (with a bigger impact radius, as you're also changing getBufferForFile) and doesn't address any of the issues mention about explaining the semantics of `IsText` or justification for changing the core VFS interfaces, for an operation that's can solely be performed on physical fileystem.
> > @perry-ca raised some concerns in #109664 about this functionality requiring some context awareness, I don't think any of those is addressed by this patch either. Pretty much all of the callers apart from ASTReader is just using `IsText = true`.
>
> To give some context, the problem we are trying to solve initially is that file opened by `#embed` should not be utf-8 converted.
Thanks, I've tested the `#embed` lit tests with this fix and did not see any regressions
https://github.com/llvm/llvm-project/pull/110661
More information about the lldb-commits
mailing list