[libcxx-commits] [PATCH] D93316: [libc++] Fix extern C for __sanitizer_annotate_contiguous_container() (for gcc)

Azat Khuzhin via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 15 14:10:16 PST 2020


azat added a comment.

In D93316#2456101 <https://reviews.llvm.org/D93316#2456101>, @ldionne wrote:

> @azat What version of GCC are you using?

10.2

And it seems that gcc had been always rejecting it
Yes this can be fixed in gcc, but in the mean time this patch looks simple enough, and it will allow using libc++ with gcc sanitizers

P.S. I've just verified versions from 4.x to 10 and all of them reject it (on godbolt)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93316/new/

https://reviews.llvm.org/D93316



More information about the libcxx-commits mailing list