This is an archive of the discontinued LLVM Phabricator instance.

LNT: Only use text segment when isSO
ClosedPublic

Authored by tnfchris on Apr 29 2022, 2:22 AM.

Details

Reviewers
cmatthews
thopre
Summary

Limit the segment calculation uses to only when the binary is relocatable.

Diff Detail

Event Timeline

tnfchris created this revision.Apr 29 2022, 2:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 29 2022, 2:22 AM
tnfchris requested review of this revision.Apr 29 2022, 2:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 29 2022, 2:22 AM
tschuett added inline comments.
lnt/testing/profile/cPerf.cpp
535

This not LLVM style. Move the first bracket up to the if statement.

tnfchris updated this revision to Diff 426003.Apr 29 2022, 2:41 AM

change brace style

tnfchris marked an inline comment as done.Apr 29 2022, 2:41 AM
thopre accepted this revision.May 6 2022, 2:54 AM

LGTM with the suggested codestyle changes

lnt/testing/profile/cPerf.cpp
536–538

LLVM code style does not use tab. Can you change those 3 lines to use whitespaces instead?

This revision is now accepted and ready to land.May 6 2022, 2:54 AM
tnfchris closed this revision.May 23 2022, 3:55 AM