about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDianQK <dianqk@dianqk.net>2023-12-02 04:40:08 +0800
committerDianQK <dianqk@dianqk.net>2023-12-02 04:40:12 +0800
commitb9f53be1e911542d5f10fbc5fcb402b0f8f439e2 (patch)
tree65b7185debacd7f94501ef1f5b9be3172a281057
parent436d4f62e0bdd14f30c64e0e2978601d8c8cc183 (diff)
downloadrust-b9f53be1e911542d5f10fbc5fcb402b0f8f439e2.tar.gz
rust-b9f53be1e911542d5f10fbc5fcb402b0f8f439e2.zip
Put `$(LLVM_BIN_DIR)` in quotes to prevent missing backslashes
-rw-r--r--tests/run-make/no-builtins-lto/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-make/no-builtins-lto/Makefile b/tests/run-make/no-builtins-lto/Makefile
index 717d047c446..c7be4836466 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