diff options
author | Joseph Huber <huberjn@outlook.com> | 2025-03-21 10:06:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-21 10:06:57 -0500 |
commit | d4ce57cb98dbe753d246ae5395cc5ac6da8afa88 (patch) | |
tree | a946f9d7eda4f734ef646c52aa88ea3360cc3517 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a013387f73cec51c2df4f7732fa87aa01709cc89 (diff) | |
download | llvm-d4ce57cb98dbe753d246ae5395cc5ac6da8afa88.zip llvm-d4ce57cb98dbe753d246ae5395cc5ac6da8afa88.tar.gz llvm-d4ce57cb98dbe753d246ae5395cc5ac6da8afa88.tar.bz2 |
[libc] Fix unresolved stdio symbols (#132403)
Summary:
We have 'generic' implementations for some functions stdio functions.
The current logic mandates that all generic functions are implemented by
the target. This obviously isn't true and this caused the GPU builds to
fail once baremtal added some extra ones.
This patch changes the logic to always include the generic sources only
if they aren't already defined. This can probably be cleaned up and
formalized later, since this pattern is copied in many places, but for
now this fixes the failing GPU build bots.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions