Swift builds seem to use it. All it requires is emitting the
corresponding paths as STABS.
Fixes llvm.org/PR49385.
Paths
| Differential D100076
[lld-macho] Support -add_ast_path ClosedPublic Authored by int3 on Apr 7 2021, 4:18 PM.
Details
Summary Swift builds seem to use it. All it requires is emitting the Fixes llvm.org/PR49385.
Diff Detail
Event TimelineComment Actions The N_AST symbol is used to specify a file on disk that contains the one and only Swift AST blob. This blob of data will be given back to the Swift compiler that is built into LLDB. I don't think this can be specified multiple times. Inline comments ask if
This revision is now accepted and ready to land.Apr 8 2021, 10:56 AM This revision was landed with ongoing or failed builds.Apr 8 2021, 11:13 AM Closed by commit rGc23b92acd065: [lld-macho] Support -add_ast_path (authored by int3). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 336174 lld/MachO/Config.h
lld/MachO/Driver.cpp
lld/MachO/Options.td
lld/MachO/SyntheticSections.cpp
lld/test/MachO/add-ast-path.s
|
Does this allow specifying this option more than once? I don't believe this is supported as there should only be one N_AST.