Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use getExecutionEngine to obtain the JIT for Cling > LLVM16 #330

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

aaronj0
Copy link
Collaborator

@aaronj0 aaronj0 commented Sep 26, 2024

To also be backported to the root-v1.0 tag

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link

codecov bot commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.27%. Comparing base (57d09bd) to head (a7dfcd0).
Report is 7 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #330      +/-   ##
==========================================
+ Coverage   73.69%   74.27%   +0.58%     
==========================================
  Files           8        8              
  Lines        3018     3188     +170     
==========================================
+ Hits         2224     2368     +144     
- Misses        794      820      +26     
Files with missing lines Coverage Δ
lib/Interpreter/Compatibility.h 89.71% <ø> (+1.05%) ⬆️

... and 6 files with indirect coverage changes

Files with missing lines Coverage Δ
lib/Interpreter/Compatibility.h 89.71% <ø> (+1.05%) ⬆️

... and 6 files with indirect coverage changes

Comment on lines 109 to 116
#if CLANG_VERSION_MAJOR == 16
#ifdef __APPLE__
const unsigned m_ExecutorOffset = 62;
#else
const unsigned m_ExecutorOffset = 72;
#endif // __APPLE__
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this block different from the previous?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The offsets have not yet been updated for cling/llvm 16, will do

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Contributor

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

@aaronj0 aaronj0 merged commit 757e7e8 into compiler-research:main Oct 22, 2024
59 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants