Skip to content

Commit

Permalink
Add dataflowAPI/src/RegisterMap.C
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Apr 3, 2024
1 parent 9eda5ee commit 7ad9369
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dataflowAPI/src/RegisterMap.C
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@
#include "dataflowAPI/src/RegisterMap.h"
#include "dyn_regs.h"

// We use the singleton approach, rather than static construction, to ensure the
// register maps are created correctly. In at least one case (Ubuntu 12.04) they
// weren't.

namespace Dyninst {
namespace DataflowAPI {

Expand Down
6 changes: 6 additions & 0 deletions docs/dataflowAPI/developer/RegisterMap.h.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ RegisterMap.h
.. cpp:function:: RegisterMap &machRegIndex_ppc()
.. cpp:function:: RegisterMap &machRegIndex_ppc_64()
.. cpp:function:: RegisterMap &machRegIndex_aarch64()

Notes
*****

We use the singleton approach, rather than static construction, to ensure the
register maps are created correctly. In at least one case (Ubuntu 12.04) they weren't.

0 comments on commit 7ad9369

Please sign in to comment.