Skip to content

Conversation

@aliher1911
Copy link

@aliher1911 aliher1911 commented Jun 23, 2020

When section group is inherited from the function where tracepoint is defined, tracepoint definition could be discarded by linker together with function correctly. Otherwise tracepoint would reference discarded section and cause linker to fail as in #1395

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 3f3aa50.

facebook-github-bot pushed a commit to facebook/hhvm that referenced this pull request Sep 11, 2024
Summary:
Originally submitted by github user aliher1911 https://github.com/aliher1911 in: https://github.com/aliher1911. However, the files were moved around and the importer cannot import this PR.

Original description:
> When section group is inherited from the function where tracepoint is defined, tracepoint definition could be discarded by linker together with function correctly. Otherwise tracepoint would reference discarded section and cause linker to fail as in facebook/folly#1395.

Closes: facebook/folly#1396.
Fixes: facebook/folly#1395.
Fixes: facebook/fbthrift#384.

Reviewed By: Orvid

Differential Revision: D62073054

fbshipit-source-id: d75de3f3c37d3110ae5bc88cd0b6c3de5ebe331f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants