This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: add debug hook to unwinder


>>>>> "Richard" == Richard Guenther <richard.guenther@gmail.com> writes:

>>> +static void
>>> +_Unwind_DebugHook (void *cfa __attribute__ ((__unused__)),

Richard> Hm, and if it is static then the compiler may as well change
Richard> its calling ABI (like for example IPA-SRA might remove the
Richard> two unused params).  No idea how to prevent that while still
Richard> having it being static though ...

We could go back to having it not be static, and rely on symbol
visibility again.  Even that seems likely to fail if we ever use
--combine or LTO on libgcc.

In any case, I'm happy to implement and test whatever approach you
like best.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]