In r353906 we hooked up clang and lldb's reproducer infrastructure to
capture files used by clang. This patch adds the necessary logic to have
clang reuse the files from lldb's reproducer during replay.
Details
Diff Detail
Event Timeline
lldb/lit/Reproducer/Modules/Inputs/main.cpp | ||
---|---|---|
6 | This is not very robust, since there is no code on this line. Personally I'd use: void stop() {} int main(int argc, char **argv) { Foo foo; stop(); // break here return 0; } | |
lldb/lit/Reproducer/Modules/TestModuleCXX.test | ||
10 | does %clang set a -fmodule-cache-path ? |
lldb/lit/Reproducer/Modules/TestModuleCXX.test | ||
---|---|---|
18 | Does %lldb source the config file that sets the module cache path? | |
lldb/lit/Reproducer/Modules/TestModuleCocoa.test | ||
8 ↗ | (On Diff #187101) | Does this have to be the real Cocoa? It's both really expensive to compile it and will vary based on the SDK. |
- Have lldb use a custom module cache and remove it before replaying the reproducer.
- Remove the cocoa test now that we have a capture and replay test.
This is not very robust, since there is no code on this line. Personally I'd use: