[all-commits] [llvm/llvm-project] 6671a8: [lldb/Reproducers] Add test-specific API to set th...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Wed May 13 09:06:04 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6671a81bc71cc2635c5a10d6f688fea46ca4e5d6
https://github.com/llvm/llvm-project/commit/6671a81bc71cc2635c5a10d6f688fea46ca4e5d6
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
M lldb/bindings/interface/SBReproducer.i
M lldb/include/lldb/API/SBReproducer.h
M lldb/include/lldb/Utility/Reproducer.h
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/source/API/SBReproducer.cpp
Log Message:
-----------
[lldb/Reproducers] Add test-specific API to set the test CWD
The reproducers' working directory is set to the current working
directory when they are initialized. While this is not optimal, as the
cwd can change during a debug session, it has been sufficient so far.
The current approach doesn't work for the API test suite however because
dotest temporarily changes the directory to where the test's Python file
lives.
This patch adds an API to tell the reproducers what to set the CWD to.
This is a NO-OP in every mode but capture.
Differential revision: https://reviews.llvm.org/D79825
More information about the All-commits
mailing list