Skip to content

Instantly share code, notes, and snippets.

@weliveindetail
Created October 15, 2024 09:42
Show Gist options
  • Save weliveindetail/9a3cfcfc698f8814f5924ead7ba68bf3 to your computer and use it in GitHub Desktop.
Save weliveindetail/9a3cfcfc698f8814f5924ead7ba68bf3 to your computer and use it in GitHub Desktop.
Upstream LLDB tests with nested invocations of 'make' that fail due to whitespace in path
51 results - 32 files
llvm-project\lldb\test\API\commands\expression\top-level\Makefile:
7 dummy: dummy.cpp
8: $(MAKE) -f $(MAKEFILE_RULES) \
9 CXX_SOURCES=dummy.cpp EXE=dummy
llvm-project\lldb\test\API\commands\expression\weak_symbols\Makefile:
11 libdylib.dylib: dylib.c
12: $(MAKE) -C $(BUILDDIR) -f $(MAKEFILE_RULES) \
13 C_SOURCES= DYLIB_C_SOURCES=dylib.c DYLIB_NAME=dylib \
17 mkdir hidden
18: $(MAKE) -C $(BUILDDIR)/hidden -f $(MAKEFILE_RULES) \
19 C_SOURCES= DYLIB_C_SOURCES=dylib.c DYLIB_NAME=dylib \
llvm-project\lldb\test\API\commands\target\create-deps\Makefile:
8 libload_a:
9: $(MAKE) -f $(MAKEFILE_RULES) \
10 DYLIB_ONLY=YES DYLIB_NAME=load_a DYLIB_CXX_SOURCES=a.cpp
llvm-project\lldb\test\API\functionalities\breakpoint\break_in_loaded_dylib\Makefile:
4 lib_b:
5: $(MAKE) -f $(MAKEFILE_RULES) \
6 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=b.cpp DYLIB_NAME=lib_b
llvm-project\lldb\test\API\functionalities\completion\Makefile:
6 lib_shared:
7: $(MAKE) -f $(MAKEFILE_RULES) \
8 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=shared.cpp DYLIB_NAME=shared
llvm-project\lldb\test\API\functionalities\dlopen_other_executable\Makefile:
4 other:
5: $(MAKE) -f $(MAKEFILE_RULES) C_SOURCES=other.c EXE=other
6 all: other
llvm-project\lldb\test\API\functionalities\exec\Makefile:
7 secondprog: secondprog.cpp
8: $(MAKE) -f $(MAKEFILE_RULES) \
9 CXX_SOURCES=secondprog.cpp EXE=secondprog
llvm-project\lldb\test\API\functionalities\jitloader_gdb\Makefile:
7 simple:
8: $(MAKE) -f $(MAKEFILE_RULES) \
9 C_SOURCES=simple.c EXE=simple
llvm-project\lldb\test\API\functionalities\limit-debug-info\Makefile:
19 libone:
20: $(MAKE) -f $(MAKEFILE_RULES) \
21 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=one.cpp DYLIB_NAME=one \
24 libtwo: libone
25: $(MAKE) -f $(MAKEFILE_RULES) \
26 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=two.cpp DYLIB_NAME=two \
llvm-project\lldb\test\API\functionalities\load_after_attach\Makefile:
4 lib_b:
5: $(MAKE) -f $(MAKEFILE_RULES) \
6 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=b.cpp DYLIB_NAME=lib_b
llvm-project\lldb\test\API\functionalities\load_lazy\Makefile:
19 t1: t2_0
20: $(MAKE) VPATH=$(SRCDIR) -f $(MAKEFILE_RULES) \
21 DYLIB_ONLY=YES DYLIB_C_SOURCES=t1.c DYLIB_NAME=t1 LD_EXTRAS="-L. $(LINKFLAGS)"
23 t2_0:
24: $(MAKE) VPATH=$(SRCDIR) -f $(MAKEFILE_RULES) \
25 DYLIB_ONLY=YES DYLIB_C_SOURCES=t2_0.c DYLIB_NAME=t2_0
27 t2_1:
28: $(MAKE) VPATH=$(SRCDIR) -f $(MAKEFILE_RULES) \
29 DYLIB_ONLY=YES DYLIB_C_SOURCES=t2_1.c DYLIB_NAME=t2_1
llvm-project\lldb\test\API\functionalities\load_unload\Makefile:
9 lib_a: lib_b
10: $(MAKE) -f $(MAKEFILE_RULES) \
11 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=a.cpp DYLIB_NAME=loadunload_a \
14 lib_b:
15: $(MAKE) -f $(MAKEFILE_RULES) \
16 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=b.cpp DYLIB_NAME=loadunload_b
18 lib_c:
19: $(MAKE) -f $(MAKEFILE_RULES) \
20 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=c.cpp DYLIB_NAME=loadunload_c
22 lib_d:
23: $(MAKE) -f $(MAKEFILE_RULES) \
24 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=d.cpp DYLIB_NAME=loadunload_d
29 hidden_lib_d: hidden
30: $(MAKE) VPATH=$(SRCDIR)/hidden -C hidden -f $(MAKEFILE_RULES) \
31 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=d.cpp DYLIB_NAME=loadunload_d
llvm-project\lldb\test\API\functionalities\load_using_paths\Makefile:
8 hidden_lib:
9: $(MAKE) VPATH=$(SRCDIR)/hidden -C hidden -f $(MAKEFILE_RULES) \
10 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=d.cpp DYLIB_NAME=loadunload
llvm-project\lldb\test\API\functionalities\scripted_process\Makefile:
11 libbaz.dylib: baz.cpp
12: $(MAKE) -f $(MAKEFILE_RULES) \
13 DYLIB_ONLY=YES DYLIB_NAME=baz DYLIB_CXX_SOURCES=baz.cpp
llvm-project\lldb\test\API\functionalities\stop-on-sharedlibrary-load\Makefile:
8 lib_a:
9: $(MAKE) -f $(MAKEFILE_RULES) \
10 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=a.cpp DYLIB_NAME=load_a
12 lib_b:
13: $(MAKE) -f $(MAKEFILE_RULES) \
14 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=b.cpp DYLIB_NAME=load_b
llvm-project\lldb\test\API\functionalities\tail_call_frames\cross_dso\Makefile:
12 lib_%:
13: $(MAKE) VPATH=$(SRCDIR)/$* -I $(SRCDIR) -f $(SRCDIR)/$*.mk DSYMUTIL=$(DSYMUTIL)
llvm-project\lldb\test\API\functionalities\target-new-solib-notifications\Makefile:
8 lib_a: lib_b
9: $(MAKE) -f $(MAKEFILE_RULES) \
10 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=a.cpp DYLIB_NAME=_a \
13 lib_b:
14: $(MAKE) -f $(MAKEFILE_RULES) \
15 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=b.cpp DYLIB_NAME=_b
17 lib_c:
18: $(MAKE) -f $(MAKEFILE_RULES) \
19 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=c.cpp DYLIB_NAME=_c
21 lib_d:
22: $(MAKE) -f $(MAKEFILE_RULES) \
23 DYLIB_ONLY=YES DYLIB_CXX_SOURCES=d.cpp DYLIB_NAME=_d
llvm-project\lldb\test\API\lang\c\conflicting-symbol\Makefile:
9 lib_%:
10: $(MAKE) VPATH=$(SRCDIR)/$* -I $(SRCDIR) -f $(SRCDIR)/$*.mk
llvm-project\lldb\test\API\lang\cpp\incomplete-types\Makefile:
18 mkdir -p build_limit
19: $(MAKE) -C $(BUILDDIR)/build_limit -f $(MAKEFILE_RULES) \
20 EXE=../limit CXX_SOURCES="length.cpp ../a.o ../main.o" \
llvm-project\lldb\test\API\lang\cpp\namespace_definitions\Makefile:
8 liba:
9: $(MAKE) -f $(MAKEFILE_RULES) \
10 DYLIB_ONLY=YES DYLIB_NAME=a DYLIB_CXX_SOURCES=a.cpp
12 libb:
13: $(MAKE) -f $(MAKEFILE_RULES) \
14 DYLIB_ONLY=YES DYLIB_NAME=b DYLIB_CXX_SOURCES=b.cpp
llvm-project\lldb\test\API\lang\objc\conflicting-definition\Makefile:
11 mkdir -p Test
12: $(MAKE) MAKE_DSYM=YES -f $(MAKEFILE_RULES) \
13 DYLIB_ONLY=YES DYLIB_NAME=Test DYLIB_OBJC_SOURCES=Test/Test.m \
18 mkdir -p TestExt
19: $(MAKE) MAKE_DSYM=YES -f $(MAKEFILE_RULES) \
20 DYLIB_ONLY=YES DYLIB_NAME=TestExt DYLIB_OBJC_SOURCES=TestExt/TestExt.m \
llvm-project\lldb\test\API\lang\objc\modules-hash-mismatch\Makefile:
7 all: $(EXE)
8: $(MAKE) -f $(SRCDIR)/Makefile update-module
9
llvm-project\lldb\test\API\macosx\delay-init-dependency\Makefile:
9 build-libfoo: foo.c
10: $(MAKE) -f $(MAKEFILE_RULES) \
11 DYLIB_C_SOURCES=foo.c DYLIB_NAME=foo DYLIB_ONLY=YES
llvm-project\lldb\test\API\macosx\expedited-thread-pcs\Makefile:
8 build-libfoo: foo.c
9: $(MAKE) -f $(MAKEFILE_RULES) \
10 DYLIB_C_SOURCES=foo.c DYLIB_NAME=foo DYLIB_ONLY=YES
llvm-project\lldb\test\API\macosx\indirect_symbol\Makefile:
9 build-libindirect: indirect.c
10: $(MAKE) -f $(MAKEFILE_RULES) \
11 DYLIB_C_SOURCES=indirect.c DYLIB_NAME=indirect DYLIB_ONLY=YES \
14 build-libreepxoprt: reexport.c
15: $(MAKE) -f $(MAKEFILE_RULES) \
16 DYLIB_C_SOURCES=reexport.c DYLIB_NAME=reexport DYLIB_ONLY=YES \
llvm-project\lldb\test\API\macosx\lc-note\firmware-corefile\Makefile:
7 create-empty-corefile:
8: "$(MAKE)" -f "$(MAKEFILE_RULES)" EXE=create-empty-corefile \
9 CXX=$(CC) CXX_SOURCES=create-empty-corefile.cpp
llvm-project\lldb\test\API\macosx\lc-note\kern-ver-str\Makefile:
7 create-empty-corefile:
8: $(MAKE) -f $(MAKEFILE_RULES) EXE=create-empty-corefile \
9 CXX=$(CC) CXX_SOURCES=create-empty-corefile.cpp
llvm-project\lldb\test\API\macosx\lc-note\multiple-binary-corefile\Makefile:
8 create-empty-corefile:
9: "$(MAKE)" -f "$(MAKEFILE_RULES)" EXE=create-multibin-corefile \
10 CXX_SOURCES=create-multibin-corefile.cpp
12 libone.dylib: one.c
13: $(MAKE) -f $(MAKEFILE_RULES) \
14 DYLIB_ONLY=YES DYLIB_NAME=one DYLIB_C_SOURCES=one.c
16 libtwo.dylib: two.c
17: $(MAKE) -f $(MAKEFILE_RULES) \
18 DYLIB_ONLY=YES DYLIB_NAME=two DYLIB_C_SOURCES=two.c
llvm-project\lldb\test\API\macosx\macCatalystAppMacOSFramework\Makefile:
13 libfoo.dylib: foo.c
14: $(MAKE) -f $(MAKEFILE_RULES) \
15 DYLIB_ONLY=YES DYLIB_NAME=foo DYLIB_C_SOURCES=foo.c
llvm-project\lldb\test\API\macosx\skinny-corefile\Makefile:
8 libto-be-removed: libpresent
9: $(MAKE) -f $(MAKEFILE_RULES) \
10 DYLIB_ONLY=YES DYLIB_C_SOURCES=to-be-removed.c DYLIB_NAME=to-be-removed \
13 libpresent:
14: $(MAKE) -f $(MAKEFILE_RULES) \
15 DYLIB_ONLY=YES DYLIB_C_SOURCES=present.c DYLIB_NAME=present
llvm-project\lldb\test\API\tools\lldb-dap\breakpoint\Makefile:
17 libother: other-copy.c
18: $(MAKE) -f $(MAKEFILE_RULES) \
19 DYLIB_ONLY=YES DYLIB_C_SOURCES=other-copy.c DYLIB_NAME=other
llvm-project\lldb\test\API\tools\lldb-server\libraries-svr4\Makefile:
11 svr4lib_a:
12: $(MAKE) -f $(MAKEFILE_RULES) \
13 DYLIB_NAME=svr4lib_a DYLIB_CXX_SOURCES=svr4lib_a.cpp \
16 svr4lib_b_quote:
17: $(MAKE) -f $(MAKEFILE_RULES) \
18 DYLIB_NAME=svr4lib_b\\\" DYLIB_CXX_SOURCES=svr4lib_b_quote.cpp \
"C:/Program Files (x86)/GnuWin32/bin/make.exe" "VPATH=S:\SourceCache\llvm-project\lldb\test\API\functionalities\completion" -C "S:\b\5\lldb-test-build.noindex\functionalities\completion\TestCompletion.test_target_modules_search_paths_insert" -I "S:\SourceCache\llvm-project\lldb\test\API\functionalities\completion" -I "S:\SourceCache\llvm-project\lldb\packages\Python\lldbsuite\test\make" -f "S:\SourceCache\llvm-project\lldb\test\API\functionalities\completion\Makefile" all ARCH=x86_64 "CC="S:\b\5\bin\clang.exe"" 'SWIFTC="S:/b/5/bin/swiftc"' 'PYTHON="C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\python.exe"' 'CLANG_MODULE_CACHE_DIR="S:/b/5/lldb-test-build.noindex/module-cache-clang\lldb-api"' SWIFT_LIBS_DIR=S:/b/5/./lib/swift LLDB_OBJ_ROOT=S:/b/5/tools/lldb --debug
...
Reading makefiles...
Updating goal targets....
File `all' does not exist.
File `a.out' does not exist.
File `lib_shared' does not exist.
Must remake target `lib_shared'.
make.exe: Entering directory `S:/b/5/lldb-test-build.noindex/functionalities/completion/TestCompletion.test_target_modules_search_paths_insert'
C:/Program Files (x86)/GnuWin32/bin/make.exe -f S:\SourceCache\llvm-project\lldb\packages\Python\lldbsuite\test\make/Makefile.rules \
DYLIB_ONLY=YES DYLIB_CXX_SOURCES=shared.cpp DYLIB_NAME=shared
'C:/Program' is not recognized as an internal or external command,
operable program or batch file.
make.exe: *** [lib_shared] Error 1
make.exe: Leaving directory `S:/b/5/lldb-test-build.noindex/functionalities/completion/TestCompletion.test_target_modules_search_paths_insert'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment