Change "target.save-jit-objects" to "target.save-jit-objects-dir".
authorJim Ingham <jingham@apple.com>
Tue, 8 Mar 2022 00:38:52 +0000 (16:38 -0800)
committerJim Ingham <jingham@apple.com>
Tue, 8 Mar 2022 01:44:51 +0000 (17:44 -0800)
commit94ec0b6c5ab8b5cd2f418f872ae2bbb2be3c550e
tree2ec191e18ee79574ec5266b1666898b32689e5c1
parenta7adf7b9e9ffa7de9d90152ecf6430b800d2ca11
Change "target.save-jit-objects" to "target.save-jit-objects-dir".
The old command wrote to CWD, which doesn't always work, and if it
didn't, there was no workaround (and it crashed on failure).  This
patch changed the setting to provide a directory to save the objects
to.

Differential Revision: https://reviews.llvm.org/D121036
lldb/include/lldb/Interpreter/OptionValue.h
lldb/include/lldb/Target/Target.h
lldb/source/Expression/IRExecutionUnit.cpp
lldb/source/Target/Target.cpp
lldb/source/Target/TargetProperties.td
lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py