[lldb/test] Remove the module cache directory in module-ownership.mm
authorPavel Labath <pavel@labath.sk>
Fri, 25 Nov 2022 10:51:10 +0000 (11:51 +0100)
committerPavel Labath <pavel@labath.sk>
Fri, 25 Nov 2022 10:55:42 +0000 (11:55 +0100)
The stale cache directory can cause compilation to fail when ast
serialization changes.

lldb/test/Shell/SymbolFile/DWARF/x86/module-ownership.mm

index 311fd34..a8dd6cf 100644 (file)
@@ -1,3 +1,4 @@
+// RUN: rm -rf %t.cache
 // RUN: %clang --target=x86_64-apple-macosx -g -gmodules -Wno-objc-root-class \
 // RUN:    -fmodules -fmodules-cache-path=%t.cache \
 // RUN:    -c -o %t.o %s -I%S/Inputs