aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorJakub Dupak <dev@jakubdupak.com>2023-10-18 22:36:38 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:09:27 +0100
commitdb6d4bac68e0f7babf93b3f26183e7f353869a9b (patch)
tree37b7a3d86a5d30f51121ff38ffe840775d3f0b09 /gcc/rust/Make-lang.in
parentf88934b5c85c6ce9fcd14dedbd33b4ca3d541a2e (diff)
downloadgcc-db6d4bac68e0f7babf93b3f26183e7f353869a9b.zip
gcc-db6d4bac68e0f7babf93b3f26183e7f353869a9b.tar.gz
gcc-db6d4bac68e0f7babf93b3f26183e7f353869a9b.tar.bz2
gccrs: borrowck: BIR dump
gcc/rust/ChangeLog: * Make-lang.in: Build BIR dump. * checks/errors/borrowck/rust-borrow-checker.cc (mkdir_wrapped): Cross-platform mkdir. (dump_function_bir): Save dump to file. (BorrowChecker::go): Run dump during borrowck. * checks/errors/borrowck/rust-bir-dump.cc: New file. * checks/errors/borrowck/rust-bir-dump.h: New file. Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
-rw-r--r--gcc/rust/Make-lang.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in
index d99d25c..d3cbe27 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -150,6 +150,7 @@ GRS_OBJS = \
rust/rust-hir-type-check-implitem.o \
rust/rust-borrow-checker.o \
rust/rust-bir-builder-expr-stmt.o \
+ rust/rust-bir-dump.o \
rust/rust-hir-dot-operator.o \
rust/rust-hir-path-probe.o \
rust/rust-type-util.o \