llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[target] .swift_ast section is a metadata section

Open hyp opened this issue 1 year ago • 6 comments

This change ensures that this section is not marked as loadable, which makes it possible for it to be stripped. The swift_ast section holds the raw Swift module bytes that are needed by LLDB, but that are not required at runtime.

(cherry picked from commit 555eaef3ab34108b68631411f0ec8464ee45af0a)

hyp avatar Dec 03 '24 01:12 hyp

@swift-ci please test

hyp avatar Dec 03 '24 01:12 hyp

@swift-ci please test

hyp avatar Dec 04 '24 02:12 hyp

@swift-ci please test linux platform

hyp avatar Dec 04 '24 17:12 hyp

@swift-ci please test linux platform

hyp avatar Dec 04 '24 18:12 hyp

@swift-ci please test linux platform

hyp avatar Dec 05 '24 18:12 hyp

@swift-ci please test linux platform

hyp avatar Dec 06 '24 17:12 hyp