aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-07-20 14:15:14 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:00:25 +0100
commitdaae0c5dffa45f5300b9af372e13a6ae3ef56366 (patch)
tree6c0cee3e7aca6eb451465e2eb40c7d9e92b2a1df /gcc/rust/Make-lang.in
parent79df2b3cafa586e2c3ba357e1448be3ad789d24e (diff)
downloadgcc-daae0c5dffa45f5300b9af372e13a6ae3ef56366.zip
gcc-daae0c5dffa45f5300b9af372e13a6ae3ef56366.tar.gz
gcc-daae0c5dffa45f5300b9af372e13a6ae3ef56366.tar.bz2
gccrs: top-level: Add base `TopLevel` visitor
The `TopLevel` pass takes care of collecting definitions, placing them in the proper namespaces, and making them accessible for later resolution passes like `Early` and `Late`. It is meant to be run in a fixed point fashion, as import resolution, macro resolution and macro expansion may generate multiple new definitions. gcc/rust/ChangeLog: * Make-lang.in: Add new object file. * resolve/rust-toplevel-name-resolver-2.0.cc: New file. * resolve/rust-toplevel-name-resolver-2.0.h: New file.
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 2ebe3b2..dc56eeaf 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -111,6 +111,7 @@ GRS_OBJS = \
rust/rust-ast-lower-stmt.o \
rust/rust-rib.o \
rust/rust-name-resolution-context.o \
+ rust/rust-toplevel-name-resolver-2.0.o \
rust/rust-early-name-resolver.o \
rust/rust-name-resolver.o \
rust/rust-ast-resolve.o \