[Lldb-commits] [lldb] [lldb] Reject an unusable memory-cache-line-size (PR #219217)
Yao Qi via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 28 03:03:16 PDT 2026
qiyao wrote:
> This looks good to me. I might have treated a cache line size of 0 as meaning "disable the memory read cache", duplicating the behavior of `target.process.disable-memory-cache`. But this is probably a better approach.
My impression was similar, set cache line size of 0 means "disable the L2 cache". However, `Process::ReadCStringFromMemory` already assumes cache line size can't be zero.
https://github.com/llvm/llvm-project/blob/0ab4db419396839196100494fcce9437403ee7cc/lldb/source/Target/Process.cpp#L2379-L2380
https://github.com/llvm/llvm-project/pull/219217
More information about the lldb-commits
mailing list