-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
BPatch_sourceBlock.h | ||
==================== | ||
.. _`sec:BPatch_sourceBlock.h`: | ||
|
||
``BPatch_sourceBlock`` | ||
---------------------- | ||
.. cpp:namespace:: BPatch_sourceBlock | ||
BPatch_sourceBlock.h | ||
#################### | ||
|
||
.. cpp:class:: BPatch_sourceBlock | ||
An object of this class represents a source code level block. Each | ||
source block objects consists of a source file and a set of source lines | ||
in that source file. This class is used to fill source line information | ||
for each basic block in the control flow graph. For each basic block in | ||
the control flow graph there is one or more source block object(s) that | ||
correspond to the source files and their lines contributing to the | ||
instruction sequence of the basic block. | ||
.. cpp:function:: const char* getSourceFile() | ||
Returns a pointer to the name of the source file in which this source | ||
block occurs. | ||
.. cpp:function:: void getSourceLines(std::vector<unsigned short>&) | ||
Fill the given vector with a list of the lines contained within this | ||
source block. | ||
An object of this class represents a source code level block. Each | ||
source block objects consists of a source file and a set of source lines | ||
in that source file. This class is used to fill source line information | ||
for each basic block in the control flow graph. For each basic block in | ||
the control flow graph there is one or more source block object(s) that | ||
correspond to the source files and their lines contributing to the | ||
instruction sequence of the basic block. | ||
|
||
.. cpp:function:: const char* getSourceFile() | ||
|
||
Returns a pointer to the name of the source file in which this source | ||
block occurs. | ||
|
||
.. cpp:function:: void getSourceLines(std::vector<unsigned short>&) | ||
|
||
Fill the given vector with a list of the lines contained within this | ||
source block. |