On 07/19/2018 01:56 PM, Jakub Jelinek wrote:
On Thu, Jul 19, 2018 at 01:54:46PM +0200, Florian Weimer wrote:
On 07/19/2018 01:48 PM, H.J. Lu wrote:
Both __has_attribute (indirect_return) and __has_attribute (__indirect_return__)
work here.

Applications can have

#define indirect_return

so the variant without underscore mangling is definitely not correct.

Incorrect for what?  glibc header?  Yes.  The libsanitizer use, where we
control the headers and what we define?  No.

Agreed.  I somehow missed that this wasn't for an installed glibc header.

Thanks,
Florian

Reply via email to