Skip to content

Commit

Permalink
Put $(LLVM_BIN_DIR) in quotes to prevent missing backslashes
Browse files Browse the repository at this point in the history
  • Loading branch information
DianQK committed Dec 1, 2023
1 parent 436d4f6 commit b9f53be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run-make/no-builtins-lto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b9f53be

Please sign in to comment.