Fix libsanitizer build on OS X 10.1[01], macOS 10.12 (PR sanitizer/78267)
authorRainer Orth <ro@gcc.gnu.org>
Sun, 20 Nov 2016 10:49:47 +0000 (10:49 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Sun, 20 Nov 2016 10:49:47 +0000 (10:49 +0000)
commit97448adf21ff74d0efe757d580dcefb5aab75244
treee0646a17c02687c46ede7df11ce8ea0fa032343d
parent71b9f645fb4148fe98563ad1ba230c3cee6d6efc
Fix libsanitizer build on OS X 10.1[01], macOS 10.12 (PR sanitizer/78267)

fixincludes:
PR sanitizer/78267
* inclhack.def (darwin_availabilityinternal, darwin_os_trace_1)
(darwin_os_trace_2, darwin_os_trace_3): New fixes.
(hpux_stdint_least_fast): Remove spurious _EOFix_.
* fixincl.x: Regenerate.
* tests/bases/AvailabilityInternal.h: New file.
* tests/bases/os/trace.h: New file.

2016-11-20  Jack Howarth  <howarth.at.gcc@gmail.com>

libsanitizer:
PR sanitizer/78267
* sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
compiler supports blocks extension.

From-SVN: r242633
fixincludes/ChangeLog
fixincludes/fixincl.x
fixincludes/inclhack.def
fixincludes/tests/base/AvailabilityInternal.h [new file with mode: 0644]
fixincludes/tests/base/os/trace.h [new file with mode: 0644]
libsanitizer/ChangeLog
libsanitizer/sanitizer_common/sanitizer_mac.cc