[DynInst_API:] [dyninst/dyninst] 91c767: Fix link bug in insnCodeGen::loadImmIntoReg on aar...


Date: Mon, 03 Apr 2023 12:13:32 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 91c767: Fix link bug in insnCodeGen::loadImmIntoReg on aar...
  Branch: refs/heads/fix_aarch64_insnCodeGen_loadImmIntoReg_link_bug
  Home:   https://github.com/dyninst/dyninst
  Commit: 91c7676e8e01257ee84d92bcd80650a80da108cc
      https://github.com/dyninst/dyninst/commit/91c7676e8e01257ee84d92bcd80650a80da108cc
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M dyninstAPI/src/codegen-aarch64.C
    M dyninstAPI/src/codegen-aarch64.h
    M dyninstAPI/src/emit-aarch64.C
    M dyninstAPI/src/inst-aarch64.C

  Log Message:
  -----------
  Fix link bug in insnCodeGen::loadImmIntoReg on aarch64

The function template has a separate declaration and "definition" AND is
called from translation units where neither is located. This only happens
to work correctly when the TUs are linked in a specific order.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 91c767: Fix link bug in insnCodeGen::loadImmIntoReg on aar..., Tim Haines <=