tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Special function names



Martin Husemann <martin%duskware.de@localhost> wrote:
>On Fri, Oct 18, 2019 at 05:30:13PM +0100, Robert Swindells wrote:
>> Any thoughts on whether we should remove some or all of the names
>> from the list in our build of gcc ?
>
>No, we should not gratiously make it different.

Well, we could push any change upstream too.

>> The list is: "setjmp", "sigsetjmp", "savectx", "vfork", "getcontext"

>The warning caused by this may make little sense for a freestanding 
>environment, so they need to be filtered with care.

>Are these names target independent? What "savectx" is that trying to catch?

From the clang sources it looks to be a Linux userland function, defined
in setjmp.h. The list is the same for all targets.

The clang list is in here:

src/external/bsd/llvm/dist/clang/include/clang/Basic/Builtins.def

Haven't worked out whether clang does anything special for freestanding.


Home | Main Index | Thread Index | Old Index