[all-commits] [llvm/llvm-project] 7365f0: [lldb][NFC] Remove unused macro ENABLE_MEMORY_CACH...

Alex Langford via All-commits all-commits at lists.llvm.org
Mon Jun 2 11:16:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7365f029de77321d189bf138b73ff97502bbb77d
      https://github.com/llvm/llvm-project/commit/7365f029de77321d189bf138b73ff97502bbb77d
  Author: Alex Langford <alangford at apple.com>
  Date:   2025-06-02 (Mon, 02 Jun 2025)

  Changed paths:
    M lldb/source/Target/Process.cpp

  Log Message:
  -----------
  [lldb][NFC] Remove unused macro ENABLE_MEMORY_CACHING (#142231)

This macro does not do what is described. The only thing it actually
does control is whether or not the process's memory cache gets flushed
when writing to an address. It does not override the setting
`target.process.disable-memory-cache`.

Instead of making it work as intended, I chose to remove the macro. I
don't see much value in being able to override the setting with a
preprocessor macro.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list