-
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log helper functions of all Call instructions
Summary: We want to log C helper function usage using a new flag `-X jit-dump-c-helper`. We will log the memory address of every `Call`, `VectorCall`, `Invoke` instruction that is processed in the `Cinder/Jit/lir/block_builder/AppendCodeLine` function. If the memory address can be resolved into a name, then the function name will be logged instead. This change involves setting up a new logging flag ( `Cinder/Jit/log.h`, `Cinder/Jit/pyjit.cpp`) and adding logging logic to `Cinder/Jit/lir/block_builder.cpp` . Reviewed By: swtaarrs Differential Revision: D28691583 fbshipit-source-id: 234bc89
- Loading branch information
1 parent
6aad3ad
commit ca5d308
Showing
4 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters