diff options
author | liushuyu <liushuyu011@gmail.com> | 2022-04-21 18:03:42 -0600 |
---|---|---|
committer | liushuyu <liushuyu011@gmail.com> | 2022-04-22 05:17:09 -0600 |
commit | f6194707a66678b68dc44efc0cd16cc654e2004e (patch) | |
tree | b640c88c7849b9c93008bbaf4e638ce7302c9d0b /gcc/rust/backend/rust-compile-base.h | |
parent | d541ded4855d0b4273a986b15ff497c45dbc6c78 (diff) | |
download | gcc-f6194707a66678b68dc44efc0cd16cc654e2004e.zip gcc-f6194707a66678b68dc44efc0cd16cc654e2004e.tar.gz gcc-f6194707a66678b68dc44efc0cd16cc654e2004e.tar.bz2 |
backend: handle link_section attribute
Diffstat (limited to 'gcc/rust/backend/rust-compile-base.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/rust/backend/rust-compile-base.h b/gcc/rust/backend/rust-compile-base.h index 68a3994..70506c2 100644 --- a/gcc/rust/backend/rust-compile-base.h +++ b/gcc/rust/backend/rust-compile-base.h @@ -88,6 +88,10 @@ protected: static void handle_must_use_attribute_on_fndecl (tree fndecl, const AST::Attribute &attr); + static void + handle_link_section_attribute_on_fndecl (tree fndecl, + const AST::Attribute &attr); + static void setup_abi_options (tree fndecl, ABI abi); static tree address_expression (tree, Location); |