[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 15:16:01 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGd94af364acfa: [libc] Surround get_start_args_addr in __llvm_libc namespace. (authored by PaulkaToast).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78700/new/

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.259735.patch
Type: text/x-patch
Size: 612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200423/b1b353e1/attachment.bin>


More information about the libc-commits mailing list