Skip to content

Commit d94af36

Browse files
committed
[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
1 parent 907871d commit d94af36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libc/src/threads/linux/x86_64/thread_start_args.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
%%begin()
1010

11+
namespace __llvm_libc {
12+
1113
__attribute__((always_inline)) inline uintptr_t get_start_args_addr() {
1214
// NOTE: For __builtin_frame_address to work reliably across compilers,
1315
// architectures and various optimization levels, the TU including this file
@@ -19,3 +21,4 @@ __attribute__((always_inline)) inline uintptr_t get_start_args_addr() {
1921
sizeof(uintptr_t) * 2;
2022
}
2123

24+
} // namespace __llvm_libc

0 commit comments

Comments
 (0)