mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
libstdc++: Add Filesystem TS and std::stacktrace symbols to libstdc++exp.a
This consolidates the three static archives for extensions into one, so that -lstdc++exp can be used to provide the definitions of all unstable library features. The libstdc++_libbacktrace.a archive is now just a "noinst" convenience library that is only used during the build, not installed. Its contents are added to libstdc++exp.a, along with the new non-inline definitions of std::stacktrace symbols. The libstdc++fs.a archive is still installed, but its contents are duplicated in libstdc++exp.a now. This means -lstdc++exp can be used instead of -lstdc++fs. For targets using the GNU linker we should consider replacing libstdc++fs.a with a linker script that does INPUT(libstdc++exp.a). The tests for <experimental/filesystem> could be changed to use -lstdc++exp instead of -lstdc++fs, which would allow removing src/filesystem/.libs from the LDFLAGS in scripts/testsuite_flags.in, but that can be done at a later date. libstdc++-v3/ChangeLog: * acinclude.m4 (GLIBCXX_CONFIGURE): Add c++23 directory. * configure: Regenerate. * doc/html/manual/*: Regenerate. * doc/xml/manual/using.xml: Update documentation on linking. * include/std/stacktrace: Remove declarations of libbacktrace APIs. (stacktrace_entry::_S_err_handler, stacktrace_entry::_S_init): Remove. (stacktrace_entry::_Info): New class. (stacktrace_entry::_M_get_info): Use _Info. (__stacktrace_impl): New class. (basic_stacktrace): Derive from __stacktrace_impl. (basic_stacktrace::current): Use __stacktrace_impl::_S_current. * scripts/testsuite_flags.in: Adjust LDFLAGS to find libstdc++exp instead of libstdc++_libbacktrace. * src/Makefile.am (SUBDIRS): Add c++23 directory. * src/Makefile.in: Regenerate. * src/c++20/Makefile.am: Fix comment. * src/c++20/Makefile.in: Regenerate. * src/c++23/Makefile.am: New file. * src/c++23/Makefile.in: New file. * src/c++23/stacktrace.cc: New file with definitions of stacktrace_entry::_Info and __stacktrace_impl members. * src/experimental/Makefile.am: Use LIBADD to include other libraries. * src/experimental/Makefile.in: Regenerate. * src/libbacktrace/Makefile.am: Use noinst_LTLIBRARIES. * src/libbacktrace/Makefile.in: Regenerate. * testsuite/19_diagnostics/stacktrace/current.cc: Adjust dg-options to use -lstdc++exp. * testsuite/19_diagnostics/stacktrace/entry.cc: Likewise. * testsuite/19_diagnostics/stacktrace/stacktrace.cc: Likewise. * testsuite/23_containers/vector/debug/assign4_backtrace_neg.cc: Likewise.
This commit is contained in:
parent
1a0c6decd2
commit
b96b554592
@ -49,7 +49,7 @@ AC_DEFUN([GLIBCXX_CONFIGURE], [
|
||||
# Keep these sync'd with the list in Makefile.am. The first provides an
|
||||
# expandable list at autoconf time; the second provides an expandable list
|
||||
# (i.e., shell variable) at configure time.
|
||||
m4_define([glibcxx_SUBDIRS],[include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace src/experimental doc po testsuite python])
|
||||
m4_define([glibcxx_SUBDIRS],[include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/c++23 src/filesystem src/libbacktrace src/experimental doc po testsuite python])
|
||||
SUBDIRS='glibcxx_SUBDIRS'
|
||||
|
||||
# These need to be absolute paths, yet at the same time need to
|
||||
|
16
libstdc++-v3/configure
vendored
16
libstdc++-v3/configure
vendored
@ -5523,7 +5523,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; }
|
||||
# expandable list at autoconf time; the second provides an expandable list
|
||||
# (i.e., shell variable) at configure time.
|
||||
|
||||
SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace src/experimental doc po testsuite python'
|
||||
SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/c++23 src/filesystem src/libbacktrace src/experimental doc po testsuite python'
|
||||
|
||||
# These need to be absolute paths, yet at the same time need to
|
||||
# canonicalize only relative paths, because then amd will not unmount
|
||||
@ -75026,7 +75026,7 @@ ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
|
||||
# append it here. Only modify Makefiles that have just been created.
|
||||
#
|
||||
# Also, get rid of this simulated-VPATH thing that automake does.
|
||||
ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/c++20/Makefile src/filesystem/Makefile src/libbacktrace/Makefile src/experimental/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
|
||||
ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/c++20/Makefile src/c++23/Makefile src/filesystem/Makefile src/libbacktrace/Makefile src/experimental/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
|
||||
|
||||
|
||||
ac_config_commands="$ac_config_commands generate-headers"
|
||||
@ -76277,6 +76277,7 @@ do
|
||||
"src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
|
||||
"src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
|
||||
"src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
|
||||
"src/c++23/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++23/Makefile" ;;
|
||||
"src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
|
||||
"src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
|
||||
"src/experimental/Makefile") CONFIG_FILES="$CONFIG_FILES src/experimental/Makefile" ;;
|
||||
@ -77768,6 +77769,17 @@ _EOF
|
||||
;;
|
||||
"src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
|
||||
s!`test -f '$<' || echo '$(srcdir)/'`!!
|
||||
_EOF
|
||||
sed -f vpsed$$ $ac_file > tmp$$
|
||||
mv tmp$$ $ac_file
|
||||
rm vpsed$$
|
||||
echo 'MULTISUBDIR =' >> $ac_file
|
||||
ml_norecursion=yes
|
||||
. ${multi_basedir}/config-ml.in
|
||||
{ ml_norecursion=; unset ml_norecursion;}
|
||||
;;
|
||||
"src/c++23/Makefile":F) cat > vpsed$$ << \_EOF
|
||||
s!`test -f '$<' || echo '$(srcdir)/'`!!
|
||||
_EOF
|
||||
sed -f vpsed$$ $ac_file > tmp$$
|
||||
mv tmp$$ $ac_file
|
||||
|
@ -28,18 +28,20 @@
|
||||
</td></tr><tr><td align="left"><code class="literal">-latomic</code></td><td align="left">Linking to <code class="filename">libatomic</code>
|
||||
is required for some uses of ISO C++11
|
||||
<code class="filename"><atomic></code>.
|
||||
</td></tr><tr><td align="left"><code class="literal">-lstdc++fs</code></td><td align="left">Linking to <code class="filename">libstdc++fs</code>
|
||||
is required for use of the Filesystem library extensions in
|
||||
<code class="filename"><experimental/filesystem></code>.
|
||||
</td></tr><tr><td align="left"><code class="literal">-lstdc++exp</code></td><td align="left">Linking to <code class="filename">libstdc++exp</code>
|
||||
is required for use of the C++ Contracts extensions enabled by
|
||||
<code class="literal">-fcontracts</code>.
|
||||
</td></tr><tr><td align="left"><code class="literal">-lstdc++_libbacktrace</code></td><td align="left">Until C++23 support is non-experimental, linking to
|
||||
<code class="filename">libstdc++_libbacktrace.a</code>
|
||||
is required for use of the C++23 type
|
||||
<code class="classname">std::stacktrace</code>
|
||||
and related types in
|
||||
<code class="filename"><stacktrace></code>.
|
||||
</td></tr><tr><td align="left"><code class="literal">-lstdc++exp</code></td><td align="left">Linking to <code class="filename">libstdc++exp.a</code>
|
||||
is required for use of experimental C++ library features.
|
||||
This currently provides support for the C++23 types defined in the
|
||||
<code class="filename"><stacktrace></code> header,
|
||||
the Filesystem library extensions defined in the
|
||||
<code class="filename"><experimental/filesystem></code>
|
||||
header,
|
||||
and the Contracts extensions enabled by <code class="literal">-fcontracts</code>.
|
||||
</td></tr><tr><td align="left"><code class="literal">-lstdc++fs</code></td><td align="left">Linking to <code class="filename">libstdc++fs.a</code>
|
||||
is another way to use the Filesystem library extensions defined in the
|
||||
<code class="filename"><experimental/filesystem></code>
|
||||
header.
|
||||
The <code class="filename">libstdc++exp.a</code> library
|
||||
also provides all the symbols contained in this library.
|
||||
</td></tr><tr><td align="left"><code class="literal">-fopenmp</code></td><td align="left">For <a class="link" href="parallel_mode.html" title="Chapter 18. Parallel Mode">parallel</a> mode.</td></tr><tr><td align="left"><code class="literal">-ltbb</code></td><td align="left">Linking to tbb (Thread Building Blocks) is required for use of the
|
||||
Parallel Standard Algorithms and execution policies in
|
||||
<code class="filename"><execution></code>.
|
||||
|
@ -138,6 +138,10 @@ A quick read of the relevant part of the GCC
|
||||
and link with <code class="option">-lstdc++fs</code>. The library implementation
|
||||
is incomplete on non-POSIX platforms, specifically Windows is only
|
||||
partially supported.
|
||||
Since GCC 14, <code class="filename">libstdc++exp.a</code>
|
||||
also contains the definitions for this library,
|
||||
so <code class="option">-lstdc++exp</code> can be used instead of
|
||||
<code class="option">-lstdc++fs</code>.
|
||||
</p><p>
|
||||
GCC 13 includes an implementation of the C++ Contracts library defined by
|
||||
<a class="link" href="https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1429r3.pdf" target="_top">P1429R3</a>.
|
||||
|
@ -100,30 +100,27 @@
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>-lstdc++fs</literal></entry>
|
||||
<entry>Linking to <filename class="libraryfile">libstdc++fs</filename>
|
||||
is required for use of the Filesystem library extensions in
|
||||
<filename class="headerfile"><experimental/filesystem></filename>.
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>-lstdc++exp</literal></entry>
|
||||
<entry>Linking to <filename class="libraryfile">libstdc++exp</filename>
|
||||
is required for use of the C++ Contracts extensions enabled by
|
||||
<literal>-fcontracts</literal>.
|
||||
<entry>Linking to <filename class="libraryfile">libstdc++exp.a</filename>
|
||||
is required for use of experimental C++ library features.
|
||||
This currently provides support for the C++23 types defined in the
|
||||
<filename class="headerfile"><stacktrace></filename> header,
|
||||
the Filesystem library extensions defined in the
|
||||
<filename class="headerfile"><experimental/filesystem></filename>
|
||||
header,
|
||||
and the Contracts extensions enabled by <literal>-fcontracts</literal>.
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>-lstdc++_libbacktrace</literal></entry>
|
||||
<entry>Until C++23 support is non-experimental, linking to
|
||||
<filename class="libraryfile">libstdc++_libbacktrace.a</filename>
|
||||
is required for use of the C++23 type
|
||||
<classname>std::stacktrace</classname>
|
||||
and related types in
|
||||
<filename class="headerfile"><stacktrace></filename>.
|
||||
<entry><literal>-lstdc++fs</literal></entry>
|
||||
<entry>Linking to <filename class="libraryfile">libstdc++fs.a</filename>
|
||||
is another way to use the Filesystem library extensions defined in the
|
||||
<filename class="headerfile"><experimental/filesystem></filename>
|
||||
header.
|
||||
The <filename class="libraryfile">libstdc++exp.a</filename> library
|
||||
also provides all the symbols contained in this library.
|
||||
</entry>
|
||||
</row>
|
||||
|
||||
@ -1710,6 +1707,10 @@ A quick read of the relevant part of the GCC
|
||||
and link with <option>-lstdc++fs</option>. The library implementation
|
||||
is incomplete on non-POSIX platforms, specifically Windows is only
|
||||
partially supported.
|
||||
Since GCC 14, <filename class="libraryfile">libstdc++exp.a</filename>
|
||||
also contains the definitions for this library,
|
||||
so <option>-lstdc++exp</option> can be used instead of
|
||||
<option>-lstdc++fs</option>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@ -45,43 +45,6 @@
|
||||
#include <bits/stl_uninitialized.h>
|
||||
#include <ext/numeric_traits.h>
|
||||
|
||||
struct __glibcxx_backtrace_state;
|
||||
struct __glibcxx_backtrace_simple_data;
|
||||
|
||||
extern "C"
|
||||
{
|
||||
__glibcxx_backtrace_state*
|
||||
__glibcxx_backtrace_create_state(const char*, int,
|
||||
void(*)(void*, const char*, int),
|
||||
void*);
|
||||
|
||||
int
|
||||
__glibcxx_backtrace_simple(__glibcxx_backtrace_state*, int,
|
||||
int (*) (void*, __UINTPTR_TYPE__),
|
||||
void(*)(void*, const char*, int),
|
||||
void*);
|
||||
int
|
||||
__glibcxx_backtrace_pcinfo(__glibcxx_backtrace_state*, __UINTPTR_TYPE__,
|
||||
int (*)(void*, __UINTPTR_TYPE__,
|
||||
const char*, int, const char*),
|
||||
void(*)(void*, const char*, int),
|
||||
void*);
|
||||
|
||||
int
|
||||
__glibcxx_backtrace_syminfo(__glibcxx_backtrace_state*, __UINTPTR_TYPE__ addr,
|
||||
void (*) (void*, __UINTPTR_TYPE__, const char*,
|
||||
__UINTPTR_TYPE__, __UINTPTR_TYPE__),
|
||||
void(*)(void*, const char*, int),
|
||||
void*);
|
||||
}
|
||||
|
||||
namespace __cxxabiv1
|
||||
{
|
||||
extern "C" char*
|
||||
__cxa_demangle(const char* __mangled_name, char* __output_buffer,
|
||||
size_t* __length, int* __status);
|
||||
}
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
{
|
||||
_GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
@ -156,80 +119,53 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
|
||||
template<typename _Allocator> friend class basic_stacktrace;
|
||||
|
||||
static void _S_err_handler(void*, const char*, int) { }
|
||||
|
||||
static __glibcxx_backtrace_state*
|
||||
_S_init()
|
||||
{
|
||||
static __glibcxx_backtrace_state* __state
|
||||
= __glibcxx_backtrace_create_state(nullptr, 1, _S_err_handler, nullptr);
|
||||
return __state;
|
||||
}
|
||||
|
||||
friend ostream&
|
||||
operator<<(ostream&, const stacktrace_entry&);
|
||||
|
||||
// Type-erased wrapper for the fields of a stacktrace entry.
|
||||
// This type is independent of which std::string ABI is in use.
|
||||
struct _Info
|
||||
{
|
||||
void* _M_desc;
|
||||
void* _M_file;
|
||||
int* _M_line;
|
||||
void (*_M_set)(void*, const char*);
|
||||
|
||||
_GLIBCXX_DEFAULT_ABI_TAG
|
||||
static void
|
||||
_S_set(void* __dest, const char* __str)
|
||||
{ static_cast<string*>(__dest)->assign(__str); }
|
||||
|
||||
_Info(string* __desc, string* __file, int* __line)
|
||||
: _M_desc(__desc), _M_file(__file), _M_line(__line), _M_set(_S_set)
|
||||
{ }
|
||||
|
||||
bool
|
||||
_M_populate(native_handle_type);
|
||||
|
||||
void _M_set_file(const char*);
|
||||
void _M_set_desc(const char*);
|
||||
};
|
||||
|
||||
bool
|
||||
_M_get_info(string* __desc, string* __file, int* __line) const
|
||||
{
|
||||
if (!*this)
|
||||
return false;
|
||||
|
||||
struct _Data
|
||||
{
|
||||
string* _M_desc;
|
||||
string* _M_file;
|
||||
int* _M_line;
|
||||
} __data = { __desc, __file, __line };
|
||||
|
||||
auto __cb = [](void* __data, uintptr_t, const char* __filename,
|
||||
int __lineno, const char* __function) -> int {
|
||||
auto& __d = *static_cast<_Data*>(__data);
|
||||
if (__function && __d._M_desc)
|
||||
*__d._M_desc = _S_demangle(__function);
|
||||
if (__filename && __d._M_file)
|
||||
*__d._M_file = __filename;
|
||||
if (__d._M_line)
|
||||
*__d._M_line = __lineno;
|
||||
return __function != nullptr;
|
||||
};
|
||||
const auto __state = _S_init();
|
||||
if (::__glibcxx_backtrace_pcinfo(__state, _M_pc, +__cb, _S_err_handler,
|
||||
&__data))
|
||||
return true;
|
||||
if (__desc && __desc->empty())
|
||||
{
|
||||
auto __cb2 = [](void* __data, uintptr_t, const char* __symname,
|
||||
uintptr_t, uintptr_t) {
|
||||
if (__symname)
|
||||
*static_cast<_Data*>(__data)->_M_desc = _S_demangle(__symname);
|
||||
};
|
||||
if (::__glibcxx_backtrace_syminfo(__state, _M_pc, +__cb2,
|
||||
_S_err_handler, &__data))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return _Info(__desc, __file, __line)._M_populate(_M_pc);
|
||||
}
|
||||
};
|
||||
|
||||
static string
|
||||
_S_demangle(const char* __name)
|
||||
{
|
||||
string __s;
|
||||
int __status;
|
||||
char* __str = __cxxabiv1::__cxa_demangle(__name, nullptr, nullptr,
|
||||
&__status);
|
||||
if (__status == 0)
|
||||
__s = __str;
|
||||
else
|
||||
__s = __name;
|
||||
__builtin_free(__str);
|
||||
return __s;
|
||||
}
|
||||
class __stacktrace_impl
|
||||
{
|
||||
protected:
|
||||
static int _S_current(int (*) (void*, __UINTPTR_TYPE__), void*, int = 0);
|
||||
};
|
||||
|
||||
// [stacktrace.basic], class template basic_stacktrace
|
||||
template<typename _Allocator>
|
||||
class basic_stacktrace
|
||||
: private __stacktrace_impl
|
||||
{
|
||||
using _AllocTraits = allocator_traits<_Allocator>;
|
||||
using uintptr_t = __UINTPTR_TYPE__;
|
||||
@ -256,10 +192,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
basic_stacktrace __ret(__alloc);
|
||||
if (auto __cb = __ret._M_prepare()) [[likely]]
|
||||
{
|
||||
auto __state = stacktrace_entry::_S_init();
|
||||
if (__glibcxx_backtrace_simple(__state, 1, __cb,
|
||||
stacktrace_entry::_S_err_handler,
|
||||
std::__addressof(__ret)))
|
||||
if (_S_current(__cb, std::__addressof(__ret)))
|
||||
__ret._M_clear();
|
||||
}
|
||||
return __ret;
|
||||
@ -275,10 +208,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
return __ret;
|
||||
if (auto __cb = __ret._M_prepare()) [[likely]]
|
||||
{
|
||||
auto __state = stacktrace_entry::_S_init();
|
||||
if (__glibcxx_backtrace_simple(__state, __skip + 1, __cb,
|
||||
stacktrace_entry::_S_err_handler,
|
||||
std::__addressof(__ret)))
|
||||
if (_S_current(__cb, std::__addressof(__ret), __skip))
|
||||
__ret._M_clear();
|
||||
}
|
||||
|
||||
@ -299,11 +229,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
return __ret;
|
||||
if (auto __cb = __ret._M_prepare(__max_depth)) [[likely]]
|
||||
{
|
||||
auto __state = stacktrace_entry::_S_init();
|
||||
int __err = __glibcxx_backtrace_simple(__state, __skip + 1, __cb,
|
||||
stacktrace_entry::_S_err_handler,
|
||||
std::__addressof(__ret));
|
||||
if (__err < 0)
|
||||
if (_S_current(__cb, std::__addressof(__ret), __skip) < 0)
|
||||
__ret._M_clear();
|
||||
else if (__ret.size() > __max_depth)
|
||||
{
|
||||
|
@ -78,14 +78,14 @@ case ${query} in
|
||||
;;
|
||||
--cxxldflags)
|
||||
FS_LDFLAGS=
|
||||
BT_LDFLAGS=
|
||||
EXP_LDFLAGS=
|
||||
if [ -d ${BUILD_DIR}/src/filesystem/.libs ]; then
|
||||
FS_LDFLAGS=-L${BUILD_DIR}/src/filesystem/.libs
|
||||
fi
|
||||
if [ -d ${BUILD_DIR}/src/libbacktrace/.libs ]; then
|
||||
BT_LDFLAGS=-L${BUILD_DIR}/src/libbacktrace/.libs
|
||||
if [ -d ${BUILD_DIR}/src/experimental/.libs ]; then
|
||||
EXP_LDFLAGS=-L${BUILD_DIR}/src/experimental/.libs
|
||||
fi
|
||||
SECTIONLDFLAGS="@SECTION_LDFLAGS@ @LIBICONV@ $FS_LDFLAGS $BT_LDFLAGS"
|
||||
SECTIONLDFLAGS="@SECTION_LDFLAGS@ @LIBICONV@ $FS_LDFLAGS $EXP_LDFLAGS"
|
||||
echo ${SECTIONLDFLAGS}
|
||||
;;
|
||||
*)
|
||||
|
@ -43,7 +43,8 @@ experimental_dir =
|
||||
endif
|
||||
|
||||
## Keep this list sync'd with acinclude.m4:GLIBCXX_CONFIGURE.
|
||||
SUBDIRS = c++98 c++11 c++17 c++20 $(filesystem_dir) $(backtrace_dir) $(experimental_dir)
|
||||
SUBDIRS = c++98 c++11 c++17 c++20 c++23 \
|
||||
$(filesystem_dir) $(backtrace_dir) $(experimental_dir)
|
||||
|
||||
# Cross compiler support.
|
||||
if VTV_CYGMIN
|
||||
@ -75,6 +76,7 @@ vpath % $(top_srcdir)/src/c++98
|
||||
vpath % $(top_srcdir)/src/c++11
|
||||
vpath % $(top_srcdir)/src/c++17
|
||||
vpath % $(top_srcdir)/src/c++20
|
||||
vpath % $(top_srcdir)/src/c++23
|
||||
if ENABLE_FILESYSTEM_TS
|
||||
vpath % $(top_srcdir)/src/filesystem
|
||||
endif
|
||||
|
@ -241,7 +241,7 @@ am__define_uniq_tagged_files = \
|
||||
done | $(am__uniquify_input)`
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = c++98 c++11 c++17 c++20 filesystem libbacktrace \
|
||||
DIST_SUBDIRS = c++98 c++11 c++17 c++20 c++23 filesystem libbacktrace \
|
||||
experimental
|
||||
ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
|
||||
ACLOCAL = @ACLOCAL@
|
||||
@ -491,7 +491,9 @@ AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
|
||||
@GLIBCXX_HOSTED_FALSE@backtrace_dir =
|
||||
@GLIBCXX_HOSTED_FALSE@experimental_dir =
|
||||
@GLIBCXX_HOSTED_TRUE@experimental_dir = experimental
|
||||
SUBDIRS = c++98 c++11 c++17 c++20 $(filesystem_dir) $(backtrace_dir) $(experimental_dir)
|
||||
SUBDIRS = c++98 c++11 c++17 c++20 c++23 \
|
||||
$(filesystem_dir) $(backtrace_dir) $(experimental_dir)
|
||||
|
||||
@VTV_CYGMIN_FALSE@toolexeclib_LTLIBRARIES = libstdc++.la
|
||||
|
||||
# Cross compiler support.
|
||||
@ -1018,6 +1020,7 @@ vpath % $(top_srcdir)/src/c++98
|
||||
vpath % $(top_srcdir)/src/c++11
|
||||
vpath % $(top_srcdir)/src/c++17
|
||||
vpath % $(top_srcdir)/src/c++20
|
||||
vpath % $(top_srcdir)/src/c++23
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@vpath % $(top_srcdir)/src/filesystem
|
||||
@ENABLE_BACKTRACE_TRUE@vpath % $(top_srcdir)/src/libbacktrace
|
||||
vpath % $(top_srcdir)/src/experimental
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
include $(top_srcdir)/fragment.am
|
||||
|
||||
# Convenience library for C++17 runtime.
|
||||
# Convenience library for C++20 runtime.
|
||||
noinst_LTLIBRARIES = libc++20convenience.la
|
||||
|
||||
headers =
|
||||
|
@ -422,7 +422,7 @@ WARN_CXXFLAGS = \
|
||||
# -I/-D flags to pass when compiling.
|
||||
AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
|
||||
|
||||
# Convenience library for C++17 runtime.
|
||||
# Convenience library for C++20 runtime.
|
||||
noinst_LTLIBRARIES = libc++20convenience.la
|
||||
headers =
|
||||
# XTEMPLATE_FLAGS =
|
||||
|
109
libstdc++-v3/src/c++23/Makefile.am
Normal file
109
libstdc++-v3/src/c++23/Makefile.am
Normal file
@ -0,0 +1,109 @@
|
||||
## Makefile for the C++23 sources of the GNU C++ Standard library.
|
||||
##
|
||||
## Copyright (C) 1997-2023 Free Software Foundation, Inc.
|
||||
##
|
||||
## This file is part of the libstdc++ version 3 distribution.
|
||||
## Process this file with automake to produce Makefile.in.
|
||||
|
||||
## This file is part of the GNU ISO C++ Library. This library is free
|
||||
## software; you can redistribute it and/or modify it under the
|
||||
## terms of the GNU General Public License as published by the
|
||||
## Free Software Foundation; either version 3, or (at your option)
|
||||
## any later version.
|
||||
|
||||
## This library is distributed in the hope that it will be useful,
|
||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
## GNU General Public License for more details.
|
||||
|
||||
## You should have received a copy of the GNU General Public License along
|
||||
## with this library; see the file COPYING3. If not see
|
||||
## <http://www.gnu.org/licenses/>.
|
||||
|
||||
include $(top_srcdir)/fragment.am
|
||||
|
||||
# Convenience library for C++23 runtime.
|
||||
noinst_LTLIBRARIES = libc++23convenience.la
|
||||
|
||||
headers =
|
||||
|
||||
if ENABLE_EXTERN_TEMPLATE
|
||||
# XTEMPLATE_FLAGS = -fno-implicit-templates
|
||||
inst_sources =
|
||||
else
|
||||
# XTEMPLATE_FLAGS =
|
||||
inst_sources =
|
||||
endif
|
||||
|
||||
sources = stacktrace.cc
|
||||
|
||||
vpath % $(top_srcdir)/src/c++23
|
||||
|
||||
|
||||
if GLIBCXX_HOSTED
|
||||
libc__23convenience_la_SOURCES = $(sources) $(inst_sources)
|
||||
else
|
||||
libc__23convenience_la_SOURCES =
|
||||
endif
|
||||
|
||||
# AM_CXXFLAGS needs to be in each subdirectory so that it can be
|
||||
# modified in a per-library or per-sub-library way. Need to manually
|
||||
# set this option because CONFIG_CXXFLAGS has to be after
|
||||
# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
|
||||
# as the occasion calls for it.
|
||||
AM_CXXFLAGS = \
|
||||
-std=gnu++23 \
|
||||
$(glibcxx_lt_pic_flag) $(glibcxx_compiler_shared_flag) \
|
||||
$(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \
|
||||
$(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS) \
|
||||
-fimplicit-templates
|
||||
|
||||
AM_MAKEFLAGS = \
|
||||
"gxx_include_dir=$(gxx_include_dir)"
|
||||
|
||||
# Libtool notes
|
||||
|
||||
# 1) In general, libtool expects an argument such as `--tag=CXX' when
|
||||
# using the C++ compiler, because that will enable the settings
|
||||
# detected when C++ support was being configured. However, when no
|
||||
# such flag is given in the command line, libtool attempts to figure
|
||||
# it out by matching the compiler name in each configuration section
|
||||
# against a prefix of the command line. The problem is that, if the
|
||||
# compiler name and its initial flags stored in the libtool
|
||||
# configuration file don't match those in the command line, libtool
|
||||
# can't decide which configuration to use, and it gives up. The
|
||||
# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
|
||||
# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
|
||||
# attempt to infer which configuration to use.
|
||||
#
|
||||
# The second tag argument, `--tag disable-shared` means that libtool
|
||||
# only compiles each source once, for static objects. In actuality,
|
||||
# glibcxx_lt_pic_flag and glibcxx_compiler_shared_flag are added to
|
||||
# the libtool command that is used create the object, which is
|
||||
# suitable for shared libraries. The `--tag disable-shared` must be
|
||||
# placed after --tag CXX lest things CXX undo the affect of
|
||||
# disable-shared.
|
||||
|
||||
# 2) Need to explicitly set LTCXXCOMPILE so that EXTRA_CXX_FLAGS is
|
||||
# last. (That way, things like -O2 passed down from the toplevel can
|
||||
# be overridden by --enable-debug.)
|
||||
LTCXXCOMPILE = \
|
||||
$(LIBTOOL) --tag CXX --tag disable-shared \
|
||||
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(EXTRA_CXX_FLAGS)
|
||||
|
||||
LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
|
||||
|
||||
# 3) We'd have a problem when building the shared libstdc++ object if
|
||||
# the rules automake generates would be used. We cannot allow g++ to
|
||||
# be used since this would add -lstdc++ to the link line which of
|
||||
# course is problematic at this point. So, we get the top-level
|
||||
# directory to configure libstdc++-v3 to use gcc as the C++
|
||||
# compilation driver.
|
||||
CXXLINK = \
|
||||
$(LIBTOOL) --tag CXX --tag disable-shared \
|
||||
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CXX) \
|
||||
$(VTV_CXXLINKFLAGS) \
|
||||
$(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
|
747
libstdc++-v3/src/c++23/Makefile.in
Normal file
747
libstdc++-v3/src/c++23/Makefile.in
Normal file
@ -0,0 +1,747 @@
|
||||
# Makefile.in generated by automake 1.15.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2017 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
VPATH = @srcdir@
|
||||
am__is_gnu_make = { \
|
||||
if test -z '$(MAKELEVEL)'; then \
|
||||
false; \
|
||||
elif test -n '$(MAKE_HOST)'; then \
|
||||
true; \
|
||||
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
fi; \
|
||||
}
|
||||
am__make_running_with_option = \
|
||||
case $${target_option-} in \
|
||||
?) ;; \
|
||||
*) echo "am__make_running_with_option: internal error: invalid" \
|
||||
"target option '$${target_option-}' specified" >&2; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
has_opt=no; \
|
||||
sane_makeflags=$$MAKEFLAGS; \
|
||||
if $(am__is_gnu_make); then \
|
||||
sane_makeflags=$$MFLAGS; \
|
||||
else \
|
||||
case $$MAKEFLAGS in \
|
||||
*\\[\ \ ]*) \
|
||||
bs=\\; \
|
||||
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
||||
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
||||
esac; \
|
||||
fi; \
|
||||
skip_next=no; \
|
||||
strip_trailopt () \
|
||||
{ \
|
||||
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
||||
}; \
|
||||
for flg in $$sane_makeflags; do \
|
||||
test $$skip_next = yes && { skip_next=no; continue; }; \
|
||||
case $$flg in \
|
||||
*=*|--*) continue;; \
|
||||
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
||||
-*I?*) strip_trailopt 'I';; \
|
||||
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
||||
-*O?*) strip_trailopt 'O';; \
|
||||
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
||||
-*l?*) strip_trailopt 'l';; \
|
||||
-[dEDm]) skip_next=yes;; \
|
||||
-[JT]) skip_next=yes;; \
|
||||
esac; \
|
||||
case $$flg in \
|
||||
*$$target_option*) has_opt=yes; break;; \
|
||||
esac; \
|
||||
done; \
|
||||
test $$has_opt = yes
|
||||
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
||||
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
target_triplet = @target@
|
||||
subdir = src/c++23
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
|
||||
$(top_srcdir)/../config/enable.m4 \
|
||||
$(top_srcdir)/../config/futex.m4 \
|
||||
$(top_srcdir)/../config/hwcaps.m4 \
|
||||
$(top_srcdir)/../config/iconv.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 \
|
||||
$(top_srcdir)/../config/lib-ld.m4 \
|
||||
$(top_srcdir)/../config/lib-link.m4 \
|
||||
$(top_srcdir)/../config/lib-prefix.m4 \
|
||||
$(top_srcdir)/../config/lthostflags.m4 \
|
||||
$(top_srcdir)/../config/multi.m4 \
|
||||
$(top_srcdir)/../config/no-executables.m4 \
|
||||
$(top_srcdir)/../config/override.m4 \
|
||||
$(top_srcdir)/../config/toolexeclibdir.m4 \
|
||||
$(top_srcdir)/../config/unwind_ipinfo.m4 \
|
||||
$(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
|
||||
$(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
|
||||
$(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \
|
||||
$(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/../config/gc++filt.m4 \
|
||||
$(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \
|
||||
$(top_srcdir)/../config/cet.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
DIST_COMMON = $(srcdir)/Makefile.am
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
LTLIBRARIES = $(noinst_LTLIBRARIES)
|
||||
libc__23convenience_la_LIBADD =
|
||||
am__objects_1 = stacktrace.lo
|
||||
am__objects_2 =
|
||||
@GLIBCXX_HOSTED_TRUE@am_libc__23convenience_la_OBJECTS = \
|
||||
@GLIBCXX_HOSTED_TRUE@ $(am__objects_1) $(am__objects_2)
|
||||
libc__23convenience_la_OBJECTS = $(am_libc__23convenience_la_OBJECTS)
|
||||
AM_V_lt = $(am__v_lt_@AM_V@)
|
||||
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
|
||||
am__v_lt_0 = --silent
|
||||
am__v_lt_1 =
|
||||
AM_V_P = $(am__v_P_@AM_V@)
|
||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||
am__v_P_0 = false
|
||||
am__v_P_1 = :
|
||||
AM_V_GEN = $(am__v_GEN_@AM_V@)
|
||||
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
|
||||
am__v_GEN_0 = @echo " GEN " $@;
|
||||
am__v_GEN_1 =
|
||||
AM_V_at = $(am__v_at_@AM_V@)
|
||||
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
|
||||
am__v_at_0 = @
|
||||
am__v_at_1 =
|
||||
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
||||
depcomp =
|
||||
am__depfiles_maybe =
|
||||
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
||||
AM_V_CXX = $(am__v_CXX_@AM_V@)
|
||||
am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
|
||||
am__v_CXX_0 = @echo " CXX " $@;
|
||||
am__v_CXX_1 =
|
||||
CXXLD = $(CXX)
|
||||
AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
|
||||
am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
|
||||
am__v_CXXLD_0 = @echo " CXXLD " $@;
|
||||
am__v_CXXLD_1 =
|
||||
SOURCES = $(libc__23convenience_la_SOURCES)
|
||||
am__can_run_installinfo = \
|
||||
case $$AM_UPDATE_INFO_DIR in \
|
||||
n|no|NO) false;; \
|
||||
*) (install-info --version) >/dev/null 2>&1;; \
|
||||
esac
|
||||
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
||||
# Read a list of newline-separated strings from the standard input,
|
||||
# and print each of them once, without duplicates. Input order is
|
||||
# *not* preserved.
|
||||
am__uniquify_input = $(AWK) '\
|
||||
BEGIN { nonempty = 0; } \
|
||||
{ items[$$0] = 1; nonempty = 1; } \
|
||||
END { if (nonempty) { for (i in items) print i; }; } \
|
||||
'
|
||||
# Make sure the list of sources is unique. This is necessary because,
|
||||
# e.g., the same source file might be shared among _SOURCES variables
|
||||
# for different programs/libraries.
|
||||
am__define_uniq_tagged_files = \
|
||||
list='$(am__tagged_files)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | $(am__uniquify_input)`
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
|
||||
ACLOCAL = @ACLOCAL@
|
||||
ALLOCATOR_H = @ALLOCATOR_H@
|
||||
ALLOCATOR_NAME = @ALLOCATOR_NAME@
|
||||
ALLOC_FILE = @ALLOC_FILE@
|
||||
AMTAR = @AMTAR@
|
||||
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
|
||||
AR = @AR@
|
||||
AS = @AS@
|
||||
ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
|
||||
ATOMIC_FLAGS = @ATOMIC_FLAGS@
|
||||
ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AWK = @AWK@
|
||||
BACKTRACE_CPPFLAGS = @BACKTRACE_CPPFLAGS@
|
||||
BACKTRACE_SUPPORTED = @BACKTRACE_SUPPORTED@
|
||||
BACKTRACE_SUPPORTS_THREADS = @BACKTRACE_SUPPORTS_THREADS@
|
||||
BACKTRACE_USES_MALLOC = @BACKTRACE_USES_MALLOC@
|
||||
BASIC_FILE_CC = @BASIC_FILE_CC@
|
||||
BASIC_FILE_H = @BASIC_FILE_H@
|
||||
CC = @CC@
|
||||
CCODECVT_CC = @CCODECVT_CC@
|
||||
CCOLLATE_CC = @CCOLLATE_CC@
|
||||
CCTYPE_CC = @CCTYPE_CC@
|
||||
CFLAGS = @CFLAGS@
|
||||
CLOCALE_CC = @CLOCALE_CC@
|
||||
CLOCALE_H = @CLOCALE_H@
|
||||
CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
|
||||
CMESSAGES_CC = @CMESSAGES_CC@
|
||||
CMESSAGES_H = @CMESSAGES_H@
|
||||
CMONEY_CC = @CMONEY_CC@
|
||||
CNUMERIC_CC = @CNUMERIC_CC@
|
||||
CPP = @CPP@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
|
||||
CPU_OPT_BITS_RANDOM = @CPU_OPT_BITS_RANDOM@
|
||||
CPU_OPT_EXT_RANDOM = @CPU_OPT_EXT_RANDOM@
|
||||
CSTDIO_H = @CSTDIO_H@
|
||||
CTIME_CC = @CTIME_CC@
|
||||
CTIME_H = @CTIME_H@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
CXXFILT = @CXXFILT@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CYGPATH_W = @CYGPATH_W@
|
||||
C_INCLUDE_DIR = @C_INCLUDE_DIR@
|
||||
DBLATEX = @DBLATEX@
|
||||
DEBUG_FLAGS = @DEBUG_FLAGS@
|
||||
DEFS = @DEFS@
|
||||
DOT = @DOT@
|
||||
DOXYGEN = @DOXYGEN@
|
||||
DSYMUTIL = @DSYMUTIL@
|
||||
DUMPBIN = @DUMPBIN@
|
||||
ECHO_C = @ECHO_C@
|
||||
ECHO_N = @ECHO_N@
|
||||
ECHO_T = @ECHO_T@
|
||||
EGREP = @EGREP@
|
||||
EH_POOL_FLAGS = @EH_POOL_FLAGS@
|
||||
ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
|
||||
EXEEXT = @EXEEXT@
|
||||
EXTRA_CFLAGS = @EXTRA_CFLAGS@
|
||||
EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
|
||||
FGREP = @FGREP@
|
||||
FORMAT_FILE = @FORMAT_FILE@
|
||||
FREESTANDING_FLAGS = @FREESTANDING_FLAGS@
|
||||
GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
|
||||
GLIBCXX_LIBS = @GLIBCXX_LIBS@
|
||||
GREP = @GREP@
|
||||
HWCAP_CFLAGS = @HWCAP_CFLAGS@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
LD = @LD@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBICONV = @LIBICONV@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBS = @LIBS@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIPO = @LIPO@
|
||||
LN_S = @LN_S@
|
||||
LONG_DOUBLE_128_FLAGS = @LONG_DOUBLE_128_FLAGS@
|
||||
LONG_DOUBLE_ALT128_COMPAT_FLAGS = @LONG_DOUBLE_ALT128_COMPAT_FLAGS@
|
||||
LONG_DOUBLE_COMPAT_FLAGS = @LONG_DOUBLE_COMPAT_FLAGS@
|
||||
LTLIBICONV = @LTLIBICONV@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAINT = @MAINT@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
NM = @NM@
|
||||
NMEDIT = @NMEDIT@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
|
||||
OPT_LDFLAGS = @OPT_LDFLAGS@
|
||||
OS_INC_SRCDIR = @OS_INC_SRCDIR@
|
||||
OTOOL = @OTOOL@
|
||||
OTOOL64 = @OTOOL64@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
PACKAGE_NAME = @PACKAGE_NAME@
|
||||
PACKAGE_STRING = @PACKAGE_STRING@
|
||||
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
PACKAGE_URL = @PACKAGE_URL@
|
||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
PDFLATEX = @PDFLATEX@
|
||||
RANLIB = @RANLIB@
|
||||
SECTION_FLAGS = @SECTION_FLAGS@
|
||||
SECTION_LDFLAGS = @SECTION_LDFLAGS@
|
||||
SED = @SED@
|
||||
SET_MAKE = @SET_MAKE@
|
||||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
SYMVER_FILE = @SYMVER_FILE@
|
||||
TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
|
||||
USE_NLS = @USE_NLS@
|
||||
VERSION = @VERSION@
|
||||
VIEW_FILE = @VIEW_FILE@
|
||||
VTV_CXXFLAGS = @VTV_CXXFLAGS@
|
||||
VTV_CXXLINKFLAGS = @VTV_CXXLINKFLAGS@
|
||||
VTV_PCH_CXXFLAGS = @VTV_PCH_CXXFLAGS@
|
||||
WARN_FLAGS = @WARN_FLAGS@
|
||||
XMLCATALOG = @XMLCATALOG@
|
||||
XMLLINT = @XMLLINT@
|
||||
XSLTPROC = @XSLTPROC@
|
||||
XSL_STYLE_DIR = @XSL_STYLE_DIR@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__tar = @am__tar@
|
||||
am__untar = @am__untar@
|
||||
baseline_dir = @baseline_dir@
|
||||
baseline_subdir_switch = @baseline_subdir_switch@
|
||||
bindir = @bindir@
|
||||
build = @build@
|
||||
build_alias = @build_alias@
|
||||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
check_msgfmt = @check_msgfmt@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
dvidir = @dvidir@
|
||||
enable_shared = @enable_shared@
|
||||
enable_static = @enable_static@
|
||||
exec_prefix = @exec_prefix@
|
||||
get_gcc_base_ver = @get_gcc_base_ver@
|
||||
glibcxx_MOFILES = @glibcxx_MOFILES@
|
||||
glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
|
||||
glibcxx_POFILES = @glibcxx_POFILES@
|
||||
glibcxx_builddir = @glibcxx_builddir@
|
||||
glibcxx_compiler_pic_flag = @glibcxx_compiler_pic_flag@
|
||||
glibcxx_compiler_shared_flag = @glibcxx_compiler_shared_flag@
|
||||
glibcxx_cxx98_abi = @glibcxx_cxx98_abi@
|
||||
glibcxx_localedir = @glibcxx_localedir@
|
||||
glibcxx_lt_pic_flag = @glibcxx_lt_pic_flag@
|
||||
glibcxx_prefixdir = @glibcxx_prefixdir@
|
||||
glibcxx_srcdir = @glibcxx_srcdir@
|
||||
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
||||
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
||||
gxx_include_dir = @gxx_include_dir@
|
||||
host = @host@
|
||||
host_alias = @host_alias@
|
||||
host_cpu = @host_cpu@
|
||||
host_os = @host_os@
|
||||
host_vendor = @host_vendor@
|
||||
htmldir = @htmldir@
|
||||
includedir = @includedir@
|
||||
infodir = @infodir@
|
||||
install_sh = @install_sh@
|
||||
libdir = @libdir@
|
||||
libexecdir = @libexecdir@
|
||||
libtool_VERSION = @libtool_VERSION@
|
||||
localedir = @localedir@
|
||||
localstatedir = @localstatedir@
|
||||
lt_host_flags = @lt_host_flags@
|
||||
mandir = @mandir@
|
||||
mkdir_p = @mkdir_p@
|
||||
multi_basedir = @multi_basedir@
|
||||
oldincludedir = @oldincludedir@
|
||||
pdfdir = @pdfdir@
|
||||
port_specific_symbol_files = @port_specific_symbol_files@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
python_mod_dir = @python_mod_dir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target = @target@
|
||||
target_alias = @target_alias@
|
||||
target_cpu = @target_cpu@
|
||||
target_os = @target_os@
|
||||
target_vendor = @target_vendor@
|
||||
thread_header = @thread_header@
|
||||
tmake_file = @tmake_file@
|
||||
top_build_prefix = @top_build_prefix@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
toplevel_builddir = @toplevel_builddir@
|
||||
toplevel_srcdir = @toplevel_srcdir@
|
||||
|
||||
# May be used by various substitution variables.
|
||||
gcc_version := $(shell @get_gcc_base_ver@ $(top_srcdir)/../gcc/BASE-VER)
|
||||
MAINT_CHARSET = latin1
|
||||
mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
|
||||
PWD_COMMAND = $${PWDCMD-pwd}
|
||||
STAMP = echo timestamp >
|
||||
toolexecdir = $(glibcxx_toolexecdir)
|
||||
toolexeclibdir = $(glibcxx_toolexeclibdir)
|
||||
@ENABLE_WERROR_FALSE@WERROR_FLAG =
|
||||
@ENABLE_WERROR_TRUE@WERROR_FLAG = -Werror
|
||||
@ENABLE_EXTERN_TEMPLATE_FALSE@XTEMPLATE_FLAGS =
|
||||
@ENABLE_EXTERN_TEMPLATE_TRUE@XTEMPLATE_FLAGS = -fno-implicit-templates
|
||||
@GLIBCXX_LDBL_ALT128_COMPAT_FALSE@LDBL_128_FLAGS =
|
||||
@GLIBCXX_LDBL_ALT128_COMPAT_TRUE@LDBL_128_FLAGS = $(LONG_DOUBLE_128_FLAGS)
|
||||
|
||||
# These bits are all figured out from configure. Look in acinclude.m4
|
||||
# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
|
||||
CONFIG_CXXFLAGS = \
|
||||
$(SECTION_FLAGS) $(HWCAP_CFLAGS) -frandom-seed=$@ $(LDBL_128_FLAGS)
|
||||
|
||||
WARN_CXXFLAGS = \
|
||||
$(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
|
||||
|
||||
|
||||
# -I/-D flags to pass when compiling.
|
||||
AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
|
||||
|
||||
# Convenience library for C++23 runtime.
|
||||
noinst_LTLIBRARIES = libc++23convenience.la
|
||||
headers =
|
||||
# XTEMPLATE_FLAGS =
|
||||
@ENABLE_EXTERN_TEMPLATE_FALSE@inst_sources =
|
||||
|
||||
# XTEMPLATE_FLAGS = -fno-implicit-templates
|
||||
@ENABLE_EXTERN_TEMPLATE_TRUE@inst_sources =
|
||||
sources = stacktrace.cc
|
||||
@GLIBCXX_HOSTED_FALSE@libc__23convenience_la_SOURCES =
|
||||
@GLIBCXX_HOSTED_TRUE@libc__23convenience_la_SOURCES = $(sources) $(inst_sources)
|
||||
|
||||
# AM_CXXFLAGS needs to be in each subdirectory so that it can be
|
||||
# modified in a per-library or per-sub-library way. Need to manually
|
||||
# set this option because CONFIG_CXXFLAGS has to be after
|
||||
# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
|
||||
# as the occasion calls for it.
|
||||
AM_CXXFLAGS = \
|
||||
-std=gnu++23 \
|
||||
$(glibcxx_lt_pic_flag) $(glibcxx_compiler_shared_flag) \
|
||||
$(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \
|
||||
$(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS) \
|
||||
-fimplicit-templates
|
||||
|
||||
AM_MAKEFLAGS = \
|
||||
"gxx_include_dir=$(gxx_include_dir)"
|
||||
|
||||
|
||||
# Libtool notes
|
||||
|
||||
# 1) In general, libtool expects an argument such as `--tag=CXX' when
|
||||
# using the C++ compiler, because that will enable the settings
|
||||
# detected when C++ support was being configured. However, when no
|
||||
# such flag is given in the command line, libtool attempts to figure
|
||||
# it out by matching the compiler name in each configuration section
|
||||
# against a prefix of the command line. The problem is that, if the
|
||||
# compiler name and its initial flags stored in the libtool
|
||||
# configuration file don't match those in the command line, libtool
|
||||
# can't decide which configuration to use, and it gives up. The
|
||||
# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
|
||||
# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
|
||||
# attempt to infer which configuration to use.
|
||||
#
|
||||
# The second tag argument, `--tag disable-shared` means that libtool
|
||||
# only compiles each source once, for static objects. In actuality,
|
||||
# glibcxx_lt_pic_flag and glibcxx_compiler_shared_flag are added to
|
||||
# the libtool command that is used create the object, which is
|
||||
# suitable for shared libraries. The `--tag disable-shared` must be
|
||||
# placed after --tag CXX lest things CXX undo the affect of
|
||||
# disable-shared.
|
||||
|
||||
# 2) Need to explicitly set LTCXXCOMPILE so that EXTRA_CXX_FLAGS is
|
||||
# last. (That way, things like -O2 passed down from the toplevel can
|
||||
# be overridden by --enable-debug.)
|
||||
LTCXXCOMPILE = \
|
||||
$(LIBTOOL) --tag CXX --tag disable-shared \
|
||||
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(EXTRA_CXX_FLAGS)
|
||||
|
||||
LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
|
||||
|
||||
# 3) We'd have a problem when building the shared libstdc++ object if
|
||||
# the rules automake generates would be used. We cannot allow g++ to
|
||||
# be used since this would add -lstdc++ to the link line which of
|
||||
# course is problematic at this point. So, we get the top-level
|
||||
# directory to configure libstdc++-v3 to use gcc as the C++
|
||||
# compilation driver.
|
||||
CXXLINK = \
|
||||
$(LIBTOOL) --tag CXX --tag disable-shared \
|
||||
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CXX) \
|
||||
$(VTV_CXXLINKFLAGS) \
|
||||
$(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
|
||||
|
||||
all: all-am
|
||||
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .cc .lo .o .obj
|
||||
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
||||
&& { if test -f $@; then exit 0; else break; fi; }; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/c++23/Makefile'; \
|
||||
$(am__cd) $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign --ignore-deps src/c++23/Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
$(top_srcdir)/fragment.am $(am__empty):
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(am__aclocal_m4_deps):
|
||||
|
||||
clean-noinstLTLIBRARIES:
|
||||
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
||||
@list='$(noinst_LTLIBRARIES)'; \
|
||||
locs=`for p in $$list; do echo $$p; done | \
|
||||
sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
|
||||
sort -u`; \
|
||||
test -z "$$locs" || { \
|
||||
echo rm -f $${locs}; \
|
||||
rm -f $${locs}; \
|
||||
}
|
||||
|
||||
libc++23convenience.la: $(libc__23convenience_la_OBJECTS) $(libc__23convenience_la_DEPENDENCIES) $(EXTRA_libc__23convenience_la_DEPENDENCIES)
|
||||
$(AM_V_CXXLD)$(CXXLINK) $(libc__23convenience_la_OBJECTS) $(libc__23convenience_la_LIBADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
||||
distclean-compile:
|
||||
-rm -f *.tab.c
|
||||
|
||||
.cc.o:
|
||||
$(AM_V_CXX)$(CXXCOMPILE) -c -o $@ $<
|
||||
|
||||
.cc.obj:
|
||||
$(AM_V_CXX)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
|
||||
.cc.lo:
|
||||
$(AM_V_CXX)$(LTCXXCOMPILE) -c -o $@ $<
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
ID: $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
||||
tags: tags-am
|
||||
TAGS: tags
|
||||
|
||||
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
set x; \
|
||||
here=`pwd`; \
|
||||
$(am__define_uniq_tagged_files); \
|
||||
shift; \
|
||||
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
if test $$# -gt 0; then \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
"$$@" $$unique; \
|
||||
else \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$unique; \
|
||||
fi; \
|
||||
fi
|
||||
ctags: ctags-am
|
||||
|
||||
CTAGS: ctags
|
||||
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
||||
$(am__define_uniq_tagged_files); \
|
||||
test -z "$(CTAGS_ARGS)$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& $(am__cd) $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) "$$here"
|
||||
cscopelist: cscopelist-am
|
||||
|
||||
cscopelist-am: $(am__tagged_files)
|
||||
list='$(am__tagged_files)'; \
|
||||
case "$(srcdir)" in \
|
||||
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
||||
*) sdir=$(subdir)/$(srcdir) ;; \
|
||||
esac; \
|
||||
for i in $$list; do \
|
||||
if test -f "$$i"; then \
|
||||
echo "$(subdir)/$$i"; \
|
||||
else \
|
||||
echo "$$sdir/$$i"; \
|
||||
fi; \
|
||||
done >> $(top_builddir)/cscope.files
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(LTLIBRARIES)
|
||||
installdirs:
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
uninstall: uninstall-am
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-am
|
||||
install-strip:
|
||||
if test -z '$(STRIP)'; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
install; \
|
||||
else \
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
||||
fi
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
|
||||
mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-compile distclean-generic \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-am
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-am
|
||||
|
||||
html-am:
|
||||
|
||||
info: info-am
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-html-am:
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-pdf-am:
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
install-ps-am:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-am
|
||||
|
||||
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool
|
||||
|
||||
pdf: pdf-am
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
|
||||
clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \
|
||||
ctags-am distclean distclean-compile distclean-generic \
|
||||
distclean-libtool distclean-tags dvi dvi-am html html-am info \
|
||||
info-am install install-am install-data install-data-am \
|
||||
install-dvi install-dvi-am install-exec install-exec-am \
|
||||
install-html install-html-am install-info install-info-am \
|
||||
install-man install-pdf install-pdf-am install-ps \
|
||||
install-ps-am install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
|
||||
uninstall-am
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
||||
vpath % $(top_srcdir)/src/c++23
|
||||
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
171
libstdc++-v3/src/c++23/stacktrace.cc
Normal file
171
libstdc++-v3/src/c++23/stacktrace.cc
Normal file
@ -0,0 +1,171 @@
|
||||
// Implementation of <stacktrace> -*- C++ -*-
|
||||
|
||||
// Copyright The GNU Toolchain Authors.
|
||||
//
|
||||
// This file is part of the GNU ISO C++ Library. This library is free
|
||||
// software; you can redistribute it and/or modify it under the
|
||||
// terms of the GNU General Public License as published by the
|
||||
// Free Software Foundation; either version 3.
|
||||
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
// Under Section 7 of GPL version 3, you are granted additional
|
||||
// permissions described in the GCC Runtime Library Exception, version
|
||||
// 3.1, as published by the Free Software Foundation.
|
||||
|
||||
// You should have received a copy of the GNU General Public License and
|
||||
// a copy of the GCC Runtime Library Exception along with this program;
|
||||
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
// <http://www.gnu.org/licenses/>.
|
||||
|
||||
#include <stacktrace>
|
||||
#include <cstdlib>
|
||||
|
||||
#ifdef __cpp_lib_stacktrace // C++ >= 23 && hosted && HAVE_STACKTRACE
|
||||
struct __glibcxx_backtrace_state;
|
||||
|
||||
extern "C"
|
||||
{
|
||||
__glibcxx_backtrace_state*
|
||||
__glibcxx_backtrace_create_state(const char*, int,
|
||||
void(*)(void*, const char*, int),
|
||||
void*);
|
||||
|
||||
int
|
||||
__glibcxx_backtrace_simple(__glibcxx_backtrace_state*, int,
|
||||
int (*) (void*, __UINTPTR_TYPE__),
|
||||
void(*)(void*, const char*, int),
|
||||
void*);
|
||||
int
|
||||
__glibcxx_backtrace_pcinfo(__glibcxx_backtrace_state*, __UINTPTR_TYPE__,
|
||||
int (*)(void*, __UINTPTR_TYPE__,
|
||||
const char*, int, const char*),
|
||||
void(*)(void*, const char*, int),
|
||||
void*);
|
||||
|
||||
int
|
||||
__glibcxx_backtrace_syminfo(__glibcxx_backtrace_state*, __UINTPTR_TYPE__ addr,
|
||||
void (*) (void*, __UINTPTR_TYPE__, const char*,
|
||||
__UINTPTR_TYPE__, __UINTPTR_TYPE__),
|
||||
void(*)(void*, const char*, int),
|
||||
void*);
|
||||
}
|
||||
|
||||
namespace __cxxabiv1
|
||||
{
|
||||
extern "C" char*
|
||||
__cxa_demangle(const char* mangled_name, char* output_buffer, size_t* length,
|
||||
int* status);
|
||||
}
|
||||
|
||||
namespace std
|
||||
{
|
||||
namespace
|
||||
{
|
||||
char*
|
||||
demangle(const char* name)
|
||||
{
|
||||
int status;
|
||||
char* str = __cxxabiv1::__cxa_demangle(name, nullptr, nullptr, &status);
|
||||
if (status == 0)
|
||||
return str;
|
||||
else
|
||||
{
|
||||
std::free(str);
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
err_handler(void*, const char*, int)
|
||||
{ }
|
||||
|
||||
__glibcxx_backtrace_state*
|
||||
init()
|
||||
{
|
||||
#if __GTHREADS && ! defined(__cpp_threadsafe_static_init)
|
||||
# warning "std::stacktrace initialization will not be thread-safe"
|
||||
#endif
|
||||
static __glibcxx_backtrace_state* state
|
||||
= __glibcxx_backtrace_create_state(nullptr, 1, err_handler, nullptr);
|
||||
return state;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
stacktrace_entry::_Info::_M_set_file(const char* filename)
|
||||
{
|
||||
if (filename && _M_file)
|
||||
_M_set(_M_file, filename);
|
||||
}
|
||||
|
||||
void
|
||||
stacktrace_entry::_Info::_M_set_desc(const char* function)
|
||||
{
|
||||
if (function && _M_desc)
|
||||
{
|
||||
if (char* s = demangle(function))
|
||||
{
|
||||
_M_set(_M_desc, s);
|
||||
std::free(s);
|
||||
}
|
||||
else
|
||||
_M_set(_M_desc, function);
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
// The closure types below don't escape so we don't care about their mangling.
|
||||
#pragma GCC diagnostic ignored "-Wabi"
|
||||
bool
|
||||
stacktrace_entry::_Info::_M_populate(native_handle_type pc)
|
||||
{
|
||||
auto cb = [](void* self, uintptr_t, const char* filename, int lineno,
|
||||
const char* function) -> int
|
||||
{
|
||||
auto& info = *static_cast<_Info*>(self);
|
||||
info._M_set_desc(function);
|
||||
info._M_set_file(filename);
|
||||
if (info._M_line)
|
||||
*info._M_line = lineno;
|
||||
return function != nullptr;
|
||||
};
|
||||
const auto state = init();
|
||||
if (::__glibcxx_backtrace_pcinfo(state, pc, +cb, err_handler, this))
|
||||
return true;
|
||||
|
||||
// If we get here then backtrace_pcinfo did not give us a function name.
|
||||
// If the caller wanted a function name, try again using backtrace_syminfo.
|
||||
if (_M_desc)
|
||||
{
|
||||
auto cb2 = [](void* self, uintptr_t, const char* symname,
|
||||
uintptr_t, uintptr_t)
|
||||
{
|
||||
static_cast<_Info*>(self)->_M_set_desc(symname);
|
||||
};
|
||||
if (::__glibcxx_backtrace_syminfo(state, pc, +cb2, err_handler, this))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
// Ensure no tail-call optimization, so that this frame isn't reused for the
|
||||
// backtrace_simple call, so that the number of frames to skip doesn't vary.
|
||||
[[gnu::optimize("no-optimize-sibling-calls")]]
|
||||
int
|
||||
__stacktrace_impl::_S_current(int (*cb) (void*, __UINTPTR_TYPE__), void* obj,
|
||||
int skip)
|
||||
{
|
||||
const auto state = init();
|
||||
// skip+2 because we don't want this function or its caller to be included.
|
||||
int r = ::__glibcxx_backtrace_simple(state, skip + 2, cb, err_handler, obj);
|
||||
// Could also use this to prevent tail-call optim: __asm ("" : "+g" (r));
|
||||
return r;
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
@ -24,6 +24,18 @@ include $(top_srcdir)/fragment.am
|
||||
|
||||
toolexeclib_LTLIBRARIES = libstdc++exp.la
|
||||
|
||||
if ENABLE_FILESYSTEM_TS
|
||||
filesystem_lib = $(top_builddir)/src/filesystem/libstdc++fs.la
|
||||
else
|
||||
filesystem_lib =
|
||||
endif
|
||||
|
||||
if ENABLE_BACKTRACE
|
||||
backtrace_lib = $(top_builddir)/src/libbacktrace/libstdc++_libbacktrace.la
|
||||
else
|
||||
backtrace_lib =
|
||||
endif
|
||||
|
||||
headers =
|
||||
|
||||
sources = \
|
||||
@ -33,6 +45,14 @@ sources = \
|
||||
|
||||
libstdc__exp_la_SOURCES = $(sources)
|
||||
|
||||
libstdc__exp_la_LIBADD = \
|
||||
$(top_builddir)/src/c++23/libc++23convenience.la \
|
||||
$(filesystem_lib) $(backtrace_lib)
|
||||
|
||||
libstdc__exp_la_DEPENDENCIES = \
|
||||
$(top_builddir)/src/c++23/libc++23convenience.la \
|
||||
$(filesystem_lib) $(backtrace_lib)
|
||||
|
||||
# AM_CXXFLAGS needs to be in each subdirectory so that it can be
|
||||
# modified in a per-library or per-sub-library way. Need to manually
|
||||
# set this option because CONFIG_CXXFLAGS has to be after
|
||||
|
@ -148,7 +148,8 @@ am__uninstall_files_from_dir = { \
|
||||
}
|
||||
am__installdirs = "$(DESTDIR)$(toolexeclibdir)"
|
||||
LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
|
||||
libstdc__exp_la_LIBADD =
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@am__DEPENDENCIES_1 = $(top_builddir)/src/filesystem/libstdc++fs.la
|
||||
@ENABLE_BACKTRACE_TRUE@am__DEPENDENCIES_2 = $(top_builddir)/src/libbacktrace/libstdc++_libbacktrace.la
|
||||
am__objects_1 = contract.lo
|
||||
am_libstdc__exp_la_OBJECTS = $(am__objects_1)
|
||||
libstdc__exp_la_OBJECTS = $(am_libstdc__exp_la_OBJECTS)
|
||||
@ -448,6 +449,10 @@ WARN_CXXFLAGS = \
|
||||
# -I/-D flags to pass when compiling.
|
||||
AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
|
||||
toolexeclib_LTLIBRARIES = libstdc++exp.la
|
||||
@ENABLE_FILESYSTEM_TS_FALSE@filesystem_lib =
|
||||
@ENABLE_FILESYSTEM_TS_TRUE@filesystem_lib = $(top_builddir)/src/filesystem/libstdc++fs.la
|
||||
@ENABLE_BACKTRACE_FALSE@backtrace_lib =
|
||||
@ENABLE_BACKTRACE_TRUE@backtrace_lib = $(top_builddir)/src/libbacktrace/libstdc++_libbacktrace.la
|
||||
headers =
|
||||
sources = \
|
||||
contract.cc
|
||||
@ -455,6 +460,14 @@ sources = \
|
||||
|
||||
# vpath % $(top_srcdir)/src/experimental
|
||||
libstdc__exp_la_SOURCES = $(sources)
|
||||
libstdc__exp_la_LIBADD = \
|
||||
$(top_builddir)/src/c++23/libc++23convenience.la \
|
||||
$(filesystem_lib) $(backtrace_lib)
|
||||
|
||||
libstdc__exp_la_DEPENDENCIES = \
|
||||
$(top_builddir)/src/c++23/libc++23convenience.la \
|
||||
$(filesystem_lib) $(backtrace_lib)
|
||||
|
||||
|
||||
# AM_CXXFLAGS needs to be in each subdirectory so that it can be
|
||||
# modified in a per-library or per-sub-library way. Need to manually
|
||||
|
@ -31,7 +31,8 @@
|
||||
|
||||
include $(top_srcdir)/fragment.am
|
||||
|
||||
toolexeclib_LTLIBRARIES = libstdc++_libbacktrace.la
|
||||
# Convenience library for C++23 runtime.
|
||||
noinst_LTLIBRARIES = libstdc++_libbacktrace.la
|
||||
|
||||
ACLOCAL_AMFLAGS = -I ../.. -I ../../config
|
||||
|
||||
|
@ -150,35 +150,7 @@ DIST_COMMON = $(srcdir)/Makefile.am
|
||||
CONFIG_HEADER = $(top_builddir)/config.h
|
||||
CONFIG_CLEAN_FILES = backtrace-supported.h
|
||||
CONFIG_CLEAN_VPATH_FILES =
|
||||
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||
am__vpath_adj = case $$p in \
|
||||
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
*) f=$$p;; \
|
||||
esac;
|
||||
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||
am__install_max = 40
|
||||
am__nobase_strip_setup = \
|
||||
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||
am__nobase_strip = \
|
||||
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||
am__nobase_list = $(am__nobase_strip_setup); \
|
||||
for p in $$list; do echo "$$p $$p"; done | \
|
||||
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||
if (++n[$$2] == $(am__install_max)) \
|
||||
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||
END { for (dir in files) print dir, files[dir] }'
|
||||
am__base_list = \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||
am__uninstall_files_from_dir = { \
|
||||
test -z "$$files" \
|
||||
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
||||
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
||||
$(am__cd) "$$dir" && rm -f $$files; }; \
|
||||
}
|
||||
am__installdirs = "$(DESTDIR)$(toolexeclibdir)"
|
||||
LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
|
||||
LTLIBRARIES = $(noinst_LTLIBRARIES)
|
||||
am_libstdc___libbacktrace_la_OBJECTS = $(obj_prefix)-atomic.lo \
|
||||
$(obj_prefix)-backtrace.lo $(obj_prefix)-dwarf.lo \
|
||||
$(obj_prefix)-fileline.lo $(obj_prefix)-posix.lo \
|
||||
@ -484,7 +456,9 @@ WARN_CXXFLAGS = \
|
||||
|
||||
# -I/-D flags to pass when compiling.
|
||||
AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
|
||||
toolexeclib_LTLIBRARIES = libstdc++_libbacktrace.la
|
||||
|
||||
# Convenience library for C++23 runtime.
|
||||
noinst_LTLIBRARIES = libstdc++_libbacktrace.la
|
||||
ACLOCAL_AMFLAGS = -I ../.. -I ../../config
|
||||
|
||||
# This will be used instead of the common AM_CPPFLAGS from fragment.am
|
||||
@ -593,33 +567,9 @@ $(am__aclocal_m4_deps):
|
||||
backtrace-supported.h: $(top_builddir)/config.status $(srcdir)/backtrace-supported.h.in
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||
|
||||
install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
|
||||
@$(NORMAL_INSTALL)
|
||||
@list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
|
||||
list2=; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
list2="$$list2 $$p"; \
|
||||
else :; fi; \
|
||||
done; \
|
||||
test -z "$$list2" || { \
|
||||
echo " $(MKDIR_P) '$(DESTDIR)$(toolexeclibdir)'"; \
|
||||
$(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)" || exit 1; \
|
||||
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
|
||||
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
|
||||
}
|
||||
|
||||
uninstall-toolexeclibLTLIBRARIES:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
|
||||
for p in $$list; do \
|
||||
$(am__strip_dir) \
|
||||
echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
|
||||
$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
|
||||
done
|
||||
|
||||
clean-toolexeclibLTLIBRARIES:
|
||||
-test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
|
||||
@list='$(toolexeclib_LTLIBRARIES)'; \
|
||||
clean-noinstLTLIBRARIES:
|
||||
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
||||
@list='$(noinst_LTLIBRARIES)'; \
|
||||
locs=`for p in $$list; do echo $$p; done | \
|
||||
sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
|
||||
sort -u`; \
|
||||
@ -629,7 +579,7 @@ clean-toolexeclibLTLIBRARIES:
|
||||
}
|
||||
|
||||
libstdc++_libbacktrace.la: $(libstdc___libbacktrace_la_OBJECTS) $(libstdc___libbacktrace_la_DEPENDENCIES) $(EXTRA_libstdc___libbacktrace_la_DEPENDENCIES)
|
||||
$(AM_V_CCLD)$(LINK) -rpath $(toolexeclibdir) $(libstdc___libbacktrace_la_OBJECTS) $(libstdc___libbacktrace_la_LIBADD) $(LIBS)
|
||||
$(AM_V_CCLD)$(LINK) $(libstdc___libbacktrace_la_OBJECTS) $(libstdc___libbacktrace_la_LIBADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
@ -755,9 +705,6 @@ check-am: all-am
|
||||
check: check-am
|
||||
all-am: Makefile $(LTLIBRARIES)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(toolexeclibdir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
install-data: install-data-am
|
||||
@ -790,7 +737,7 @@ maintainer-clean-generic:
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean: clean-am
|
||||
|
||||
clean-am: clean-generic clean-libtool clean-toolexeclibLTLIBRARIES \
|
||||
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
|
||||
mostlyclean-am
|
||||
|
||||
distclean: distclean-am
|
||||
@ -816,7 +763,7 @@ install-dvi: install-dvi-am
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
install-exec-am: install-toolexeclibLTLIBRARIES
|
||||
install-exec-am:
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
@ -855,24 +802,23 @@ ps: ps-am
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-toolexeclibLTLIBRARIES
|
||||
uninstall-am:
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
|
||||
clean-libtool clean-toolexeclibLTLIBRARIES cscopelist-am ctags \
|
||||
clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \
|
||||
ctags-am distclean distclean-compile distclean-generic \
|
||||
distclean-libtool distclean-tags dvi dvi-am html html-am info \
|
||||
info-am install install-am install-data install-data-am \
|
||||
install-dvi install-dvi-am install-exec install-exec-am \
|
||||
install-html install-html-am install-info install-info-am \
|
||||
install-man install-pdf install-pdf-am install-ps \
|
||||
install-ps-am install-strip install-toolexeclibLTLIBRARIES \
|
||||
installcheck installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
tags tags-am uninstall uninstall-am \
|
||||
uninstall-toolexeclibLTLIBRARIES
|
||||
install-ps-am install-strip installcheck installcheck-am \
|
||||
installdirs maintainer-clean maintainer-clean-generic \
|
||||
mostlyclean mostlyclean-compile mostlyclean-generic \
|
||||
mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
|
||||
uninstall-am
|
||||
|
||||
.PRECIOUS: Makefile
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// { dg-options "-std=gnu++23 -lstdc++_libbacktrace" }
|
||||
// { dg-options "-std=gnu++23 -lstdc++exp" }
|
||||
// { dg-do run { target c++23 } }
|
||||
// { dg-require-effective-target stacktrace }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// { dg-options "-std=gnu++23 -lstdc++_libbacktrace" }
|
||||
// { dg-options "-std=gnu++23 -lstdc++exp" }
|
||||
// { dg-do run { target c++23 } }
|
||||
// { dg-require-effective-target stacktrace }
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// { dg-options "-std=gnu++23 -lstdc++_libbacktrace" }
|
||||
// { dg-options "-std=gnu++23 -lstdc++exp" }
|
||||
// { dg-do run { target c++23 } }
|
||||
// { dg-require-effective-target stacktrace }
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// { dg-do run { xfail *-*-* } }
|
||||
// { dg-options "-D_GLIBCXX_DEBUG_BACKTRACE -lstdc++_libbacktrace" }
|
||||
// { dg-options "-D_GLIBCXX_DEBUG_BACKTRACE -lstdc++exp" }
|
||||
// { dg-require-effective-target stacktrace }
|
||||
|
||||
#include <debug/vector>
|
||||
|
Loading…
Reference in New Issue
Block a user