[PATCH] D60245: [libunwind] Export the weak alias in Mach-O

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 3 20:35:05 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL357671: [libunwind] Export the weak alias in Mach-O (authored by phosek, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D60245?vs=193650&id=193651#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D60245

Files:
  libunwind/trunk/src/assembly.h


Index: libunwind/trunk/src/assembly.h
===================================================================
--- libunwind/trunk/src/assembly.h
+++ libunwind/trunk/src/assembly.h
@@ -47,6 +47,7 @@
 #define HIDDEN_SYMBOL(name) .private_extern name
 #define WEAK_SYMBOL(name) .weak_reference name
 #define WEAK_ALIAS(name, aliasname)                                            \
+  .globl SYMBOL_NAME(aliasname) SEPARATOR                                      \
   WEAK_SYMBOL(aliasname) SEPARATOR                                             \
   SYMBOL_NAME(aliasname) = SYMBOL_NAME(name)
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60245.193651.patch
Type: text/x-patch
Size: 586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190404/3b4be072/attachment.bin>


More information about the llvm-commits mailing list