From b9f53be1e911542d5f10fbc5fcb402b0f8f439e2 Mon Sep 17 00:00:00 2001 From: DianQK Date: Sat, 2 Dec 2023 04:40:08 +0800 Subject: [PATCH] Put `$(LLVM_BIN_DIR)` in quotes to prevent missing backslashes --- tests/run-make/no-builtins-lto/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-make/no-builtins-lto/Makefile b/tests/run-make/no-builtins-lto/Makefile index 717d047c4469d..c7be4836466db 100644 --- a/tests/run-make/no-builtins-lto/Makefile +++ b/tests/run-make/no-builtins-lto/Makefile @@ -11,5 +11,5 @@ all: $(RUSTC) -C linker-plugin-lto -C opt-level=2 -C debuginfo=0 foo.rs $(RUSTC) -C linker-plugin-lto -C opt-level=2 -C debuginfo=0 no_builtins.rs $(RUSTC) main.rs -C lto -C opt-level=2 -C debuginfo=0 -C save-temps -C metadata=1 -C codegen-units=1 - $(LLVM_BIN_DIR)/llvm-dis $(TMPDIR)/main.main.*-cgu.0.rcgu.lto.input.bc -o $(TMPDIR)/lto.ll + "$(LLVM_BIN_DIR)"/llvm-dis $(TMPDIR)/main.main.*-cgu.0.rcgu.lto.input.bc -o $(TMPDIR)/lto.ll cat "$(TMPDIR)"/lto.ll | "$(LLVM_FILECHECK)" filecheck.lto.txt