Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
Zipr Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Open Source Software
Zipr Backend
Commits
398e6af5
Commit
398e6af5
authored
9 years ago
by
whh8b
Browse files
Options
Downloads
Patches
Plain Diff
Make DollopManager_t public to the API and implement internally.
parent
64f49682
Branches
1-zipr-induces-dlopen-bug
Branches containing commit
Tags
CfarJuly2018Eval
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/zipr_dollop_man.h
+2
-2
2 additions, 2 deletions
include/zipr_dollop_man.h
include/zipr_impl.h
+1
-0
1 addition, 0 deletions
include/zipr_impl.h
src/zipr_dollop_man.cpp
+2
-1
2 additions, 1 deletion
src/zipr_dollop_man.cpp
with
5 additions
and
3 deletions
include/zipr_dollop_man.h
+
2
−
2
View file @
398e6af5
...
...
@@ -33,7 +33,7 @@
#include
<dollop.h>
class
ZiprDollopManager_t
{
class
ZiprDollopManager_t
:
public
DollopManager_t
{
public:
ZiprDollopManager_t
()
:
m_refresh_stats
(
true
)
{}
void
AddDollops
(
Dollop_t
*
dollop_head
);
...
...
@@ -64,7 +64,7 @@ class ZiprDollopManager_t {
}
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
out
,
const
ZiprDollopManager_t
&
dollop_man
);
void
PrintStats
(
std
::
ostream
&
out
);
void
PrintPlacementMap
(
const
Zipr
MemorySpace_t
&
memory_space
,
void
PrintPlacementMap
(
const
MemorySpace_t
&
memory_space
,
const
std
::
string
&
map_filename
);
private
:
void
AddDollop
(
Dollop_t
*
dollop
);
...
...
This diff is collapsed.
Click to expand it.
include/zipr_impl.h
+
1
−
0
View file @
398e6af5
...
...
@@ -338,6 +338,7 @@ class ZiprImpl_t : public Zipr_t
void
dump_map
();
virtual
Zipr_SDK
::
MemorySpace_t
*
GetMemorySpace
()
{
return
&
memory_space
;
}
virtual
Zipr_SDK
::
DollopManager_t
*
GetDollopManager
()
{
return
&
m_dollop_mgr
;
}
virtual
ELFIO
::
elfio
*
GetELFIO
()
{
return
elfiop
;
}
virtual
libIRDB
::
FileIR_t
*
GetFileIR
()
{
return
m_firp
;
}
virtual
Zipr_SDK
::
InstructionLocationMap_t
*
GetLocationMap
()
{
return
&
final_insn_locations
;
}
...
...
This diff is collapsed.
Click to expand it.
src/zipr_dollop_man.cpp
+
2
−
1
View file @
398e6af5
...
...
@@ -289,9 +289,10 @@ namespace zipr {
map_output << endl << std::hex << (x) << ": ";
void
ZiprDollopManager_t
::
PrintPlacementMap
(
const
Zipr
MemorySpace_t
&
memory_space
,
const
MemorySpace_t
&
_
memory_space
,
const
std
::
string
&
map_filename
)
{
const
ZiprMemorySpace_t
&
memory_space
=
static_cast
<
const
ZiprMemorySpace_t
&>
(
_memory_space
);
RangeSet_t
original_ranges
=
memory_space
.
GetOriginalFreeRanges
();
RangeSet_t
::
const_iterator
range_it
,
range_it_end
;
ofstream
map_output
(
map_filename
.
c_str
(),
std
::
ofstream
::
out
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment