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

Record externs in the functions map so that --callee can find them. #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

esky-software
Copy link

Allows --callee to refer to extern functions.

cally.py Outdated
@@ -531,7 +531,7 @@ def full_call_graph(functions, **kwargs):

print_buf(std_buf, '"{}" -> "{}";'.format(func, caller))

if caller not in functions:
if (caller not in functions) or (len(functions[caller]["files"]) == 0):
Copy link
Owner

Choose a reason for hiding this comment

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

Dont think you need the extra () sets.

@chaudron
Copy link
Owner

chaudron commented Dec 7, 2023

I have not looked at the logic of the patch, but there are some style issues to fix, and it needs a DCO.

@esky-software esky-software force-pushed the master branch 2 times, most recently from 2944a33 to 0e0b1c5 Compare December 7, 2023 12:00
@chaudron
Copy link
Owner

chaudron commented Dec 7, 2023

Thanks for the changes, can you force-push this as a single commit? I'll try to do a proper review over the weekend.

Signed-off-by: Jeremy Davies <jeremy@davies.name>
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