[libc] Add localtime_r to baremetal entrypoints#166677
Conversation
|
@llvm/pr-subscribers-backend-risc-v @llvm/pr-subscribers-libc Author: Prabhu Rajasekaran (Prabhuk) ChangesFull diff: https://github.com/llvm/llvm-project/pull/166677.diff 1 Files Affected:
diff --git a/libc/config/baremetal/arm/entrypoints.txt b/libc/config/baremetal/arm/entrypoints.txt
index 82e257c1d2b0d..ab8d4cbeea0c3 100644
--- a/libc/config/baremetal/arm/entrypoints.txt
+++ b/libc/config/baremetal/arm/entrypoints.txt
@@ -269,6 +269,7 @@ set(TARGET_LIBC_ENTRYPOINTS
libc.src.time.difftime
libc.src.time.gmtime
libc.src.time.gmtime_r
+ libc.src.time.localtime_r
libc.src.time.mktime
libc.src.time.strftime
libc.src.time.strftime_l
|
| libc.src.time.difftime | ||
| libc.src.time.gmtime | ||
| libc.src.time.gmtime_r | ||
| libc.src.time.localtime_r |
There was a problem hiding this comment.
Can you also include libc.src.time.localtime and update other baremetal/*/entrypoints.txt files?
There was a problem hiding this comment.
Do we want to include this for aarch64 baremetal target as well? I see @michaelrj-google removed localtime* from aarch64 in this PR after it had previously landed: #156776
There was a problem hiding this comment.
I think that was just a quick fix, if the tests are passing now feel free to enable.
There was a problem hiding this comment.
Thank you. I'll merge this and keep an eye out for post submit builder emails.
|
While building the Fuchsia toolchain locally, baremetal runtimes builds are failing. I am debugging them currently. Marking the PR as draft until I resolve the failures. |
|
The libcxx build failure downstream is a local environment issue. Verified that this change builds Fuchsia toolchain with arm and riscv 32 targets successfully in our bots https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci.shadow/clang-linux-x64/b8698914645026512801/overview |
No description provided.