mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-27 15:52:28 +00:00
Document __demangle() and fix a const func ptr bug
This commit is contained in:
parent
c67faf61df
commit
9aa353d88b
7 changed files with 618 additions and 670 deletions
7
third_party/libcxx/__config_site
vendored
7
third_party/libcxx/__config_site
vendored
|
@ -9,6 +9,13 @@
|
|||
#ifndef _LIBCPP___CONFIG_SITE
|
||||
#define _LIBCPP___CONFIG_SITE
|
||||
|
||||
// every c++ program is bound to include *something* from the stl
|
||||
// therefore we schlep in 28k of code needed to print c++ symbols
|
||||
// however c programs should never include *any* stl headers ever
|
||||
#ifndef TINY
|
||||
__static_yoink("__demangle");
|
||||
#endif
|
||||
|
||||
// We get a million `error: ‘always_inline’ function might not be
|
||||
// inlinable` because we're using LLVM LIBCXX with GCC, which has
|
||||
// no exclude_from_explicit_instantiation attribute, which libcxx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue