Reland [lld-macho]Implement bundle_loader
authorVy Nguyen <vyng@google.com>
Mon, 22 Feb 2021 18:03:02 +0000 (13:03 -0500)
committerVy Nguyen <vyng@google.com>
Mon, 22 Feb 2021 19:05:12 +0000 (14:05 -0500)
commit5a856f5b44997dd45db08f434e5da1f85e4693f5
tree25b70675a40c4d370f711ad40477d5fc49e2607c
parentbb20cf2f1c7ad6ef8a6ab0bc5ca5ea7db4b2282d
Reland [lld-macho]Implement bundle_loader
  Reland 1a0afcf518717f61d45a1cdc6ad1a6436ec663b1
  https://reviews.llvm.org/D95913

New change: fix UB bug caused by copying empty path/name. (since the executable does not have a name)
lld/MachO/Driver.cpp
lld/MachO/Driver.h
lld/MachO/DriverUtils.cpp
lld/MachO/InputFiles.cpp
lld/MachO/InputFiles.h
lld/MachO/Options.td
lld/MachO/SyntheticSections.cpp
lld/MachO/Writer.cpp
lld/test/MachO/bundle-loader.s [new file with mode: 0644]