This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Import ObjectiveC module instead of Foundation in test (NFC)
ClosedPublic

Authored by kastiglione on Apr 4 2021, 8:31 AM.

Details

Summary

Use @import ObjectiveC instead of @import Foundation, as the former is all
that's needed, and results in fewer clang modules being built.

This results in the following clang modules *not* being built for this test.

ApplicationServices
CFNetwork
ColorSync
CoreFoundation
CoreGraphics
CoreServices
CoreText
DiskArbitration
Dispatch
Foundation
IOKit
ImageIO
Security
XPC
_Builtin_intrinsics
launch
libkern
os_object
os_workgroup

Diff Detail

Event Timeline

kastiglione requested review of this revision.Apr 4 2021, 8:31 AM
kastiglione created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2021, 8:31 AM
kastiglione retitled this revision from [lldb] Import ObjectiveC module instead of Foundation in test to [lldb] Import ObjectiveC module instead of Foundation in test (NFC).Apr 4 2021, 2:51 PM
teemperor accepted this revision.Apr 4 2021, 3:05 PM
This revision is now accepted and ready to land.Apr 4 2021, 3:05 PM