aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-rc/ResourceScriptParser.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-03-12 16:06:51 +0100
committerRaphael Isemann <teemperor@gmail.com>2020-03-12 16:12:14 +0100
commit352f16db87f583ec7f55f8028647b5fd8616111f (patch)
tree1836f86d87cd32b30925da1c1f91cba68fb9b3f6 /llvm/tools/llvm-rc/ResourceScriptParser.cpp
parenteb4b5a36a6331a0de3559a01e6854895cacce6b3 (diff)
downloadllvm-352f16db87f583ec7f55f8028647b5fd8616111f.zip
llvm-352f16db87f583ec7f55f8028647b5fd8616111f.tar.gz
llvm-352f16db87f583ec7f55f8028647b5fd8616111f.tar.bz2
[lldb] Let OptionValueRegex::Clear set to value to the default and not an empty regex
Since D75537 the test suite clears all settings before a test. This caused two tests to fail: lldb-api :: functionalities/inline-stepping/TestInlineStepping.py lldb-api :: lang/cpp/std-function-step-into-callable/TestStdFunctionStepIntoCallable.py The reason for that is that OptionValueRegex::Clear was setting the regex to empty instead of the default value that was passed initially. This caused that the target.process.thread.step-avoid-regexp setting which is used in the tests was set to "" instead of "^std::". This patch is just a quick fix that sets the regex back to the original value to make the tests pass. In total these 3 setting values have changed with D75537 and also need to be fixed (even though they don't seem to break any tests). target.process.thread.step-avoid-regexp (regex) -> from '^std::' to empty string platform.module-cache-directory (file) -> from "~/.lldb/module_cache" to empty string script-lang (enum) -> from 'default' to 'python'
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions