facebookexperimental / object-introspection

Object Introspection (OI) enables on-demand, hierarchical profiling of objects in arbitrary C/C++ programs with no recompilation.
Apache License 2.0
160 stars 13 forks source link

llvm: add support for LLVM16/17 #503

Closed JakeHillion closed 1 month ago

JakeHillion commented 1 month ago

Summary: The internal build is moving to LLVM-17 from LLVM-15. For our code there are two required changes to get it building: a header has been renamed and the signature of a function has changed.

Checked which LLVM major version these changes apply in and both are 16, macro gated accordingly so we maintain compatibility with both LLVM-15 and LLVM-17. Both versions build internally.

Differential Revision: D61268962

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D61268962

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D61268962

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D61268962

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.78%. Comparing base (ed5fcfe) to head (e55fd33).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #503 +/- ## ========================================== + Coverage 60.77% 60.78% +0.01% ========================================== Files 126 126 Lines 12487 12491 +4 Branches 2014 2014 ========================================== + Hits 7589 7593 +4 Misses 3941 3941 Partials 957 957 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.