From d94af364acfa252ef980bc18a53fdf01dceea201 Mon Sep 17 00:00:00 2001 From: Paula Toth Date: Thu, 23 Apr 2020 15:09:40 -0700 Subject: [PATCH] [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 --- libc/src/threads/linux/x86_64/thread_start_args.h.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libc/src/threads/linux/x86_64/thread_start_args.h.in b/libc/src/threads/linux/x86_64/thread_start_args.h.in index deb0b3b..36365b9 100644 --- a/libc/src/threads/linux/x86_64/thread_start_args.h.in +++ b/libc/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 @@ __attribute__((always_inline)) inline uintptr_t get_start_args_addr() { sizeof(uintptr_t) * 2; } +} // namespace __llvm_libc -- 1.8.3.1