Files
jsix_import/src/libraries/libc/arch/amd64/libdl.cpp
Justin C. Miller e17119254b [libc] Add enough stubs to support new LLVM 16 sysroot
time.h and wctype.h had "#error not yet implemented" in them. Now time.h is correct (though the functions
are only declared), and wctype.h exists enough to define its types. Also a dlsym stub was added that just
returns 0.
2024-02-19 16:53:36 -08:00

9 lines
257 B
C++

extern "C" {
// Stub out these libdl functions for libunwind until
// we have a real libdl
int dladdr(const void *, void *) { return 0; }
int dl_iterate_phdr(void *, void *) { return 0; }
int dlsym(void *, const char *) { return 0; }
}