mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 00:36:34 +00:00
Revert "Change the ABI version and ABI namespace to be _LIBCPP_VERSION
"
There are some suspicious bot failures that I want to ensure aren't caused by this patch. I'll recommit tomorrow. llvm-svn: 364363
This commit is contained in:
parent
de94ac9357
commit
ae9e42f614
@ -34,6 +34,10 @@
|
||||
|
||||
#define _LIBCPP_VERSION 9000
|
||||
|
||||
#ifndef _LIBCPP_ABI_VERSION
|
||||
# define _LIBCPP_ABI_VERSION 1
|
||||
#endif
|
||||
|
||||
#ifndef __STDC_HOSTED__
|
||||
# define _LIBCPP_FREESTANDING
|
||||
#endif
|
||||
@ -62,18 +66,7 @@
|
||||
# error Unknown object file format
|
||||
#endif
|
||||
|
||||
#if defined(_LIBCPP_ABI_UNSTABLE)
|
||||
# ifdef _LIBCPP_ABI_VERSION
|
||||
# error _LIBCPP_ABI_VERSION cannot be defined with _LIBCPP_ABI_UNSTABLE
|
||||
# endif
|
||||
# define _LIBCPP_ABI_VERSION _LIBCPP_VERSION
|
||||
#endif
|
||||
|
||||
#ifndef _LIBCPP_ABI_VERSION
|
||||
# define _LIBCPP_ABI_VERSION 1
|
||||
#endif
|
||||
|
||||
#if _LIBCPP_ABI_VERSION >= 2
|
||||
#if defined(_LIBCPP_ABI_UNSTABLE) || _LIBCPP_ABI_VERSION >= 2
|
||||
// Change short string representation so that string data starts at offset 0,
|
||||
// improving its alignment in some cases.
|
||||
# define _LIBCPP_ABI_ALTERNATE_STRING_LAYOUT
|
||||
|
Loading…
x
Reference in New Issue
Block a user