This is an archive of the discontinued LLVM Phabricator instance.

[lldb-tests] Force use of system stdlib for Objective-C test
ClosedPublic

Authored by fdeazeve on Oct 24 2022, 7:31 AM.

Details

Summary

The test TestObjCDirectMethods loads the Objective C runtime, which
doesn't work well with custom a libcxx, resulting in two copies of the
standard library to be loaded at runtime. Like what was done for
TestObjCExceptions, this commit forces the usage of the system's
library instead. The minimum required Clang version is set to the oldest
Clang that can compile the libraries available in the lldb-matrix bots.

Diff Detail

Event Timeline

fdeazeve created this revision.Oct 24 2022, 7:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 24 2022, 7:31 AM
fdeazeve requested review of this revision.Oct 24 2022, 7:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 24 2022, 7:31 AM
fdeazeve updated this revision to Diff 470146.Oct 24 2022, 7:32 AM

Edit commit message

Michael137 accepted this revision.Oct 24 2022, 7:39 AM
Michael137 added a subscriber: Michael137.

LGTM

This revision is now accepted and ready to land.Oct 24 2022, 7:39 AM
JDevlieghere accepted this revision.Oct 24 2022, 8:53 AM