summaryrefslogtreecommitdiffstats
path: root/lldb/lit/Reproducer/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/lit/Reproducer/Modules')
-rw-r--r--lldb/lit/Reproducer/Modules/Inputs/Bar.h3
-rw-r--r--lldb/lit/Reproducer/Modules/Inputs/Foo.h1
-rw-r--r--lldb/lit/Reproducer/Modules/Inputs/ModuleCXX.in6
-rw-r--r--lldb/lit/Reproducer/Modules/Inputs/main.cpp9
-rw-r--r--lldb/lit/Reproducer/Modules/Inputs/module.modulemap7
-rw-r--r--lldb/lit/Reproducer/Modules/TestModuleCXX.test37
6 files changed, 0 insertions, 63 deletions
diff --git a/lldb/lit/Reproducer/Modules/Inputs/Bar.h b/lldb/lit/Reproducer/Modules/Inputs/Bar.h
deleted file mode 100644
index d004baf3168..00000000000
--- a/lldb/lit/Reproducer/Modules/Inputs/Bar.h
+++ /dev/null
@@ -1,3 +0,0 @@
-struct Bar {
- int success;
-};
diff --git a/lldb/lit/Reproducer/Modules/Inputs/Foo.h b/lldb/lit/Reproducer/Modules/Inputs/Foo.h
deleted file mode 100644
index 1fe02e89786..00000000000
--- a/lldb/lit/Reproducer/Modules/Inputs/Foo.h
+++ /dev/null
@@ -1 +0,0 @@
-struct Foo {};
diff --git a/lldb/lit/Reproducer/Modules/Inputs/ModuleCXX.in b/lldb/lit/Reproducer/Modules/Inputs/ModuleCXX.in
deleted file mode 100644
index 0f5bb7864f2..00000000000
--- a/lldb/lit/Reproducer/Modules/Inputs/ModuleCXX.in
+++ /dev/null
@@ -1,6 +0,0 @@
-breakpoint set -f main.cpp -l 5
-run
-expr -l Objective-C++ -- @import Foo
-expr -l Objective-C++ -- @import Bar
-expr -- Bar()
-reproducer generate
diff --git a/lldb/lit/Reproducer/Modules/Inputs/main.cpp b/lldb/lit/Reproducer/Modules/Inputs/main.cpp
deleted file mode 100644
index e6a331bb405..00000000000
--- a/lldb/lit/Reproducer/Modules/Inputs/main.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-#include "Foo.h"
-
-void stop() {}
-
-int main(int argc, char **argv) {
- Foo foo;
- stop(); // break here.
- return 0;
-}
diff --git a/lldb/lit/Reproducer/Modules/Inputs/module.modulemap b/lldb/lit/Reproducer/Modules/Inputs/module.modulemap
deleted file mode 100644
index 4221d0f9134..00000000000
--- a/lldb/lit/Reproducer/Modules/Inputs/module.modulemap
+++ /dev/null
@@ -1,7 +0,0 @@
-module Foo {
- header "Foo.h"
-}
-
-module Bar {
- header "Bar.h"
-}
diff --git a/lldb/lit/Reproducer/Modules/TestModuleCXX.test b/lldb/lit/Reproducer/Modules/TestModuleCXX.test
deleted file mode 100644
index 843c7e6d1ff..00000000000
--- a/lldb/lit/Reproducer/Modules/TestModuleCXX.test
+++ /dev/null
@@ -1,37 +0,0 @@
-# REQUIRES: system-darwin
-
-# Start fresh.
-# RUN: rm -rf %t.repro
-# RUN: rm -rf %t.root
-# RUN: rm -rf %t.clang-cache
-# RUN: rm -rf %t.lldb-cache
-
-# Create a temporary root we can remove later.
-# RUN: mkdir -p %t.root
-# RUN: mkdir -p %t.clang-cache
-# RUN: mkdir -p %t.lldb-cache
-# RUN: cp %S/Inputs/main.cpp %t.root
-# RUN: cp %S/Inputs/Foo.h %t.root
-# RUN: cp %S/Inputs/Bar.h %t.root
-# RUN: cp %S/Inputs/module.modulemap %t.root
-
-# Compile the test case form the temporary root.
-# RUN: %clang %t.root/main.cpp -g -fmodules -fcxx-modules -fmodules-cache-path=%t.clang-cache -o %t.root/a.out
-
-# Capture the debug session.
-# RUN: %lldb -x -b -o 'settings set symbols.clang-modules-cache-path %t.lldb-cache' -s %S/Inputs/ModuleCXX.in --capture --capture-path %t.repro %t.root/a.out | FileCheck %s --check-prefix CAPTURE
-# CAPTURE: (success = 0)
-
-# RUN: cat %t.repro/files.yaml | FileCheck %s --check-prefix YAML
-# YAML-DAG: Foo.h
-# YAML-DAG: Bar.h
-# YAML-DAG: module.modulemap
-
-# Remove the temporary root.
-# RUN: rm -rf %t.root
-# RUN: rm -rf %t.clang-cache
-# RUN: rm -rf %t.lldb-cache
-
-# Replay the debug session.
-# RUN: %lldb -x -b -o 'settings set symbols.clang-modules-cache-path %t.lldb-cache' -s %S/Inputs/ModuleCXX.in --replay %t.repro %t.root/a.out | FileCheck %s --check-prefix REPLAY
-# REPLAY: (success = 0)
OpenPOWER on IntegriCloud