Skip to content
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

Load extapi module in buildSVFModule(Module& mod) #1258

Merged
merged 1 commit into from
Nov 25, 2023

Conversation

shuangxiangkan
Copy link
Contributor

Use static SVFModule* buildSVFModule(Module& mod, std::unique_ptr<LLVMContext> context) to create an svfModule. It is necessary to ensure that the LLVM Context of the mod and the extapi module's LLVM Context are the same, meaning the context parameter should be the mod's LLVM Context.

Copy link

codecov bot commented Nov 25, 2023

Codecov Report

Merging #1258 (1bbb734) into master (e8ce5b8) will increase coverage by 0.00%.
Report is 1 commits behind head on master.
The diff coverage is 60.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1258   +/-   ##
=======================================
  Coverage   64.45%   64.45%           
=======================================
  Files         223      223           
  Lines       23731    23734    +3     
=======================================
+ Hits        15296    15298    +2     
- Misses       8435     8436    +1     
Files Coverage Δ
svf-llvm/include/SVF-LLVM/LLVMModule.h 97.89% <ø> (ø)
svf-llvm/lib/LLVMModule.cpp 82.49% <60.00%> (-0.09%) ⬇️

@yuleisui yuleisui merged commit b36c455 into SVF-tools:master Nov 25, 2023
5 checks passed
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.

None yet

2 participants