[PATCH] D81295: lld: initial pass at supporting TBD

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 19:32:19 PDT 2020


compnerd updated this revision to Diff 268984.
compnerd added a comment.

Fix memory corruption in the binding name.  We were holding a reference to a `StringRef` beyond the lifetime of the buffer.

Add a failing demonstrating the failure to filter out the architecture specific symbols.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81295

Files:
  lld/MachO/Driver.cpp
  lld/MachO/InputFiles.cpp
  lld/MachO/InputFiles.h
  lld/MachO/Writer.cpp
  lld/test/MachO/MacOSX.sdk/usr/lib/libSystem.tbd
  lld/test/MachO/iPhoneSimulator.sdk/usr/lib/libSystem.tbd
  lld/test/MachO/stub-link-2.s
  lld/test/MachO/stub-link.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81295.268984.patch
Type: text/x-patch
Size: 8487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200606/f6cb31d0/attachment.bin>


More information about the llvm-commits mailing list