[libc-commits] [PATCH] D78700: [libc] Surround get_start_args_addr in __llvm_libc namespace.

Paula Toth via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Apr 23 04:17:35 PDT 2020


PaulkaToast created this revision.
PaulkaToast added a reviewer: sivachandra.
PaulkaToast added a project: libc-project.
Herald added subscribers: libc-commits, tschuett.

Caught by libc-tidy from patch D77281 <https://reviews.llvm.org/D77281>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78700

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


Index: libc/src/threads/linux/x86_64/thread_start_args.h.in
===================================================================
--- libc/src/threads/linux/x86_64/thread_start_args.h.in
+++ 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 @@
          sizeof(uintptr_t) * 2;
 }
 
+} // namespace __llvm_libc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78700.259515.patch
Type: text/x-patch
Size: 612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200423/9481c8b6/attachment.bin>


More information about the libc-commits mailing list