Skip to content

Minor patches to unittests, improve offset initialization in getExecutionEngine #459

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 18, 2025

Conversation

aaronj0
Copy link
Collaborator

@aaronj0 aaronj0 commented Jan 18, 2025

Description

Set of patches required on top of InterOp master for enabling ROOT, which can added upstream.

@aaronj0 aaronj0 requested a review from vgvassilev January 18, 2025 13:27
Copy link
Contributor

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

Copy link

codecov bot commented Jan 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.15%. Comparing base (8e064dc) to head (4f2c976).
Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #459      +/-   ##
==========================================
+ Coverage   71.04%   71.15%   +0.11%     
==========================================
  Files           9        9              
  Lines        3550     3550              
==========================================
+ Hits         2522     2526       +4     
+ Misses       1028     1024       -4     
Files with missing lines Coverage Δ
lib/Interpreter/Compatibility.h 88.28% <ø> (ø)

... and 1 file with indirect coverage changes

Files with missing lines Coverage Δ
lib/Interpreter/Compatibility.h 88.28% <ø> (ø)

... and 1 file with indirect coverage changes

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.

Please make clang-format happy

- Sets cmake environment property of CppInterOp unitests to LLVM include dir
- Use cling::Declare instead of Process for include tests
This hints towards a bug in cling::Process when we JIT two includes one after another like
```
std::string code = R"(#include <vector> \n #include <iostream>)"
Interp->process(code);
Copy link
Contributor

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

@aaronj0 aaronj0 merged commit 46b25e4 into compiler-research:main Jan 18, 2025
55 checks passed
@aaronj0 aaronj0 deleted the offset-fix branch April 22, 2025 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants