[DynInst_API:] [dyninst/dyninst] 471228: Use a ternary to avoid linker error on some gcc's


Date: Thu, 20 Apr 2023 12:31:38 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 471228: Use a ternary to avoid linker error on some gcc's
  Branch: refs/heads/thaines/decode_unknown_instructions
  Home:   https://github.com/dyninst/dyninst
  Commit: 471228cfdeb5e99880292cbf8d9a52f0a023e649
      https://github.com/dyninst/dyninst/commit/471228cfdeb5e99880292cbf8d9a52f0a023e649
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M instructionAPI/src/InstructionDecoder.C

  Log Message:
  -----------
  Use a ternary to avoid linker error on some gcc's

Some versions of gcc don't inline std::min _and_ need to resolve maxInstructionLength.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 471228: Use a ternary to avoid linker error on some gcc's, Tim Haines <=