This is an archive of the discontinued LLVM Phabricator instance.

SBCC RFE: Support SBCC for Shared Library
Needs ReviewPublic

Authored by Hiralo on Sep 22 2021, 5:09 AM.

Details

Summary

commit bd251841c8cd8000e0a6271ae3555acd5f032b8e
Author: hiral
Date: Wed Sep 22 01:12:50 2021 -0700

SBCC RFE: Support SBCC for Shared Library

SBCC RFE: Support SBCC for Shared Library
Using '%n' format parameter for profile name templates, to insert the full
path of the current shared object into profile file names.

Internally using a linked list to gather all profile dumping functions
(there is one defined in each shared object) so they can be invoked with a
single function call.  Ensure the resulting directory paths are created
prior to dumping.

Author: Thom.Harp@netapp.com

Diff Detail

Event Timeline

Hiralo created this revision.Sep 22 2021, 5:09 AM
Hiralo created this object with edit policy "Hiralo (Hiral)".
Hiralo requested review of this revision.Sep 22 2021, 5:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 22 2021, 5:09 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vsk added a comment.EditedSep 22 2021, 10:09 AM

Hi @Hiralo, could you share some of the use cases for this feature? What were the pros/cons of any alternatives you considered (e.g. the %m/%c modes)?

Edit: I just noticed your thread "llvm-dev] compiler-rt RFE to support creating profraw for each Shared Library" on llvm-dev; let's follow up there.

ormris removed a subscriber: ormris.Jan 24 2022, 11:43 AM