They are added as entrypoint object targets. The header-gen infrastructure has been extended to enable handling standard required global objects. The libc-api-test has also been extended to verify the global object declarations. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D126329
6 lines
127 B
C++
6 lines
127 B
C++
#include "src/__support/File/file.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
extern FILE *stderr = reinterpret_cast<FILE *>(__llvm_libc::stderr);
|