[libc] Surround get_start_args_addr in __llvm_libc namespace.
Summary: Caught by libc-tidy from patch D77281.
Reviewers: sivachandra
Reviewed By: sivachandra
Subscribers: tschuett, libc-commits
Tags: #libc-project
Differential Revision: https://reviews.llvm.org/D78700
GitOrigin-RevId: d94af364acfa252ef980bc18a53fdf01dceea201
diff --git a/src/threads/linux/x86_64/thread_start_args.h.in b/src/threads/linux/x86_64/thread_start_args.h.in
index deb0b3b..36365b9 100644
--- a/src/threads/linux/x86_64/thread_start_args.h.in
+++ b/src/threads/linux/x86_64/thread_start_args.h.in
@@ -8,6 +8,8 @@
%%begin()
+namespace __llvm_libc {
+
__attribute__((always_inline)) inline uintptr_t get_start_args_addr() {
// NOTE: For __builtin_frame_address to work reliably across compilers,
// architectures and various optimization levels, the TU including this file
@@ -19,3 +21,4 @@
sizeof(uintptr_t) * 2;
}
+} // namespace __llvm_libc