[llvm-dev] A libc in LLVM
David Greene via llvm-dev
llvm-dev at lists.llvm.org
Mon Jul 15 12:01:41 PDT 2019
David Jones <dlj at google.com> writes:
> >> * Provide C symbols as specified by the standards, but take advantage
> >> and use C++ language facilities for the core implementation.
>
> Does this mean C programs would require a C++ runtime? If not, how will
> the project ensure that?
>
> Shooting from the hip: no. Turning off exceptions, RTTI, and static
> initializers (i.e., things which require a guard variable) is probably
> enough to obviate the need for the runtime.
What about bits of the standard library that are not header-only? My
guess is that the set of those things may be platform-dependent.
-David
More information about the llvm-dev
mailing list