diff options
Diffstat (limited to 'gcc/target.h')
| -rw-r--r-- | gcc/target.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h index 564c333..cd850d1 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -550,6 +550,11 @@ struct gcc_target /* Returns NULL if target supports the insn within a doloop block, otherwise it returns an error message. */ const char * (*invalid_within_doloop) (rtx); + + /* DECL is a variable or function with __attribute__((dllimport)) + specified. Use this hook if the target needs to add extra validation + checks to handle_dll_attribute (). */ + bool (* valid_dllimport_attribute_p) (tree decl); /* Functions relating to calls - argument passing, returns, etc. */ struct calls { @@ -660,6 +665,11 @@ struct gcc_target /* Returns true if __aeabi_atexit should be used to register static destructors. */ bool (*use_aeabi_atexit) (void); + /* TYPE is a C++ class (i.e., RECORD_TYPE or UNION_TYPE) that + has just been defined. Use this hook to make adjustments to the + class (eg, tweak visibility or perform any other required + target modifications). */ + void (*adjust_class_at_definition) (tree type); } cxx; /* True if unwinding tables should be generated by default. */ |
