gcc/libsanitizer/lsan
Andrew Pinski cdd7171a6b libsanitizer: Move language level from gnu++14 to gnu++17
While compiling libsanitizer for aarch64-linux-gnu, I noticed the new warning:
```
../../../../libsanitizer/asan/asan_interceptors.cpp: In function ‘char* ___interceptor_strcpy(char*, const char*)’:
../../../../libsanitizer/asan/asan_interceptors.cpp:554:6: warning: ‘if constexpr’ only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  554 |   if constexpr (SANITIZER_APPLE) {
      |      ^~~~~~~~~
```
So compile-rt upstream compiles this as gnu++17 (the current defualt for clang), so let's update it
to be similar.

Build and tested on aarch64-linux-gnu.

	PR sanitizer/117731
libsanitizer/ChangeLog:

	* asan/Makefile.am (AM_CXXFLAGS): Replace gnu++14 with gnu++17.
	* asan/Makefile.in: Regenerate.
	* hwasan/Makefile.am (AM_CXXFLAGS): Replace gnu++14 with gnu++17.
	* hwasan/Makefile.in: Regenerate.
	* interception/Makefile.am (AM_CXXFLAGS): Replace gnu++14 with gnu++17.
	* interception/Makefile.in: Regenerate.
	* libbacktrace/Makefile.am (AM_CXXFLAGS): Replace gnu++14 with gnu++17.
	* libbacktrace/Makefile.in (AM_CXXFLAGS): Regenerate.
	* lsan/Makefile.am (AM_CXXFLAGS): Replace gnu++14 with gnu++17.
	* lsan/Makefile.in: Regenerate.
	* sanitizer_common/Makefile.am (AM_CXXFLAGS): Replace gnu++14 with gnu++17.
	* sanitizer_common/Makefile.in: Regenerate.
	* tsan/Makefile.am (AM_CXXFLAGS): Replace gnu++14 with gnu++17.
	* tsan/Makefile.in: Regenerate.
	* ubsan/Makefile.am (AM_CXXFLAGS): Replace gnu++14 with gnu++17.
	* ubsan/Makefile.in: Regenerate.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
2024-11-22 08:52:44 -08:00
..
libtool-version
lsan_allocator.cpp libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
lsan_allocator.h libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
lsan_common_fuchsia.cpp libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
lsan_common_linux.cpp libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
lsan_common_mac.cpp libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
lsan_common.cpp libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
lsan_common.h libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
lsan_flags.inc libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
lsan_fuchsia.cpp libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
lsan_fuchsia.h
lsan_interceptors.cpp libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
lsan_linux.cpp libsanitizer: merge from upstream (3185e47b5a8444e9fd). 2023-04-26 15:51:56 +02:00
lsan_mac.cpp libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
lsan_malloc_mac.cpp libsanitizer: merge from master (84a71d5259c2682403cdbd8710592410a2f128ab) 2022-08-30 12:53:50 +02:00
lsan_posix.cpp libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
lsan_posix.h
lsan_preinit.cpp libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
lsan_thread.cpp libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
lsan_thread.h libsanitizer: merge from upstream (c425db2eb558c263) 2023-11-15 12:45:58 +01:00
lsan.cpp libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
lsan.h libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
Makefile.am libsanitizer: Move language level from gnu++14 to gnu++17 2024-11-22 08:52:44 -08:00
Makefile.in libsanitizer: Move language level from gnu++14 to gnu++17 2024-11-22 08:52:44 -08:00