[PATCH] D100994: [MC] Set addrsig symbol as weak/weakExternal
    Zequan Wu via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Apr 21 13:13:17 PDT 2021
    
    
  
zequanwu created this revision.
zequanwu added reviewers: MaskRay, pcc, rnk.
Herald added subscribers: hiraditya, emaste.
zequanwu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
No all symbols in .addrsig table have definitions. So, setting them as weak to avoid undefined symbol error during linking.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D100994
Files:
  llvm/lib/MC/ELFObjectWriter.cpp
  llvm/lib/MC/WinCOFFObjectWriter.cpp
  llvm/test/MC/COFF/addrsig.s
  llvm/test/MC/ELF/addrsig.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100994.339363.patch
Type: text/x-patch
Size: 4757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210421/d5ab0adc/attachment.bin>
    
    
More information about the llvm-commits
mailing list