[Lldb-commits] [lldb] [lldb] Fix write only file action to truncate the file (PR #112657)

via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 17 09:22:00 PDT 2024


kusmour wrote:

> What you describe makes some sense, but could you give an example of where this is used?
> 
> Can this be triggered with `lldb program file --<some option goes here>`? If so it would be good to 1. put that in the commit message in case anyone hits the same problem and searches the log, and 2. add a release note.

For example, the settings `target.output-path` and `target.error-path` takes a path and lldb will call this function to write to the file.

Will add both later! Thanks!

https://github.com/llvm/llvm-project/pull/112657


More information about the lldb-commits mailing list