This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt][profile][AIX] pass export list for test with shared library
ClosedPublic

Authored by daltenty on Jan 26 2022, 7:45 PM.

Details

Summary

This is a follow up to D118101, that added bexpfull to the test on instrprof-get-filename-merge-mode.c on AIX in order to get the
necessary symbols exported. Unfortunately the extra dependent symbols this exports actually cause segfaults, which is why
this isn't really recommended in the first place, so just use an actual export list.

Diff Detail

Event Timeline

daltenty created this revision.Jan 26 2022, 7:45 PM
daltenty requested review of this revision.Jan 26 2022, 7:45 PM
daltenty edited the summary of this revision. (Show Details)
stevewan accepted this revision.EditedJan 27 2022, 11:24 AM

get_filename_from_DSO is the only symbol to be exported from the shared obj. LGTM. Thanks.

This revision is now accepted and ready to land.Jan 27 2022, 11:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 27 2022, 1:25 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript