JDevlieghere added a comment.

In D106584#2907898 <https://reviews.llvm.org/D106584#2907898>, @jasonmolenda 
wrote:

> Looks good!  Maybe we should add a setting like 
> target.file-cache-memory-reads-verify (a boolean) to enable/disable this 
> check instead of keying off NDEBUG.  We can turn it on in the testsuite, and 
> we can optionally have people with release installs of lldb enable it if we 
> ever suspect that it might be an issue.  The settings are added with an entry 
> in source/Target/TargetProperties.td and a getter/setter in TargetProperties.

If we do that we should make it an `lldbassert` so it prints something in 
release builds.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106584

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

Reply via email to