[DynInst_API:] [dyninst/dyninst] 7569c6: Improve compiler diagnostic suppression handling


Date: Tue, 29 Mar 2022 09:26:10 -0700
From: kupsch <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 7569c6: Improve compiler diagnostic suppression handling
  Branch: refs/heads/kupsch/test-typesByName-string_view
  Home:   https://github.com/dyninst/dyninst
  Commit: 7569c6e34cf910526adeffd5fb1b1427faf41e20
      https://github.com/dyninst/dyninst/commit/7569c6e34cf910526adeffd5fb1b1427faf41e20
  Author: James A. Kupsch <kupsch@xxxxxxxxxxx>
  Date:   2022-03-27 (Sun, 27 Mar 2022)

  Changed paths:
    M common/h/Annotatable.h
    M common/h/Graph.h
    M common/h/Node.h
    A common/h/compiler_diagnostics.h
    M common/h/util.h
    M common/src/arch-x86.h
    M common/src/debug_common.C
    M common/src/ntHeaders.h
    M dataflowAPI/src/debug_dataflow.C
    M dyninstAPI/h/BPatch.h
    M dyninstAPI/h/BPatch_dll.h
    M dyninstAPI/h/BPatch_function.h
    M dyninstAPI/h/BPatch_image.h
    M dyninstAPI/h/BPatch_point.h
    M dyninstAPI/src/inst-x86.C
    M dyninstAPI_RT/h/dyninstAPI_RT.h
    M instructionAPI/h/BinaryFunction.h
    M instructionAPI/h/InstructionAST.h
    M instructionAPI/h/InstructionDecoder.h
    M instructionAPI/src/Register.C
    M parseAPI/src/debug_parse.C
    M proccontrol/src/handler.C
    M proccontrol/src/irpc.C
    M proccontrol/src/process.C
    M proccontrol/src/processplat.C
    M proccontrol/src/procset.C
    M proccontrol/src/windows_process.h
    M proccontrol/src/x86_process.C
    M symtabAPI/src/debug.C

  Log Message:
  -----------
  Improve compiler diagnostic suppression handling

- Create compiler specific diagnostic suppression macros to suppress a
  type of warning for a region of code that are consistently defined.
  Replace current multi-line preprocessor if and pragmas statements with
  one of these macros.
- Add suppression for warnings in instructionAPI/src/Register.C
  when using gcc 6-8.
- Remove suppressions pragmas for old untested compilers (MSC).


  Commit: d6e1a5fe11e5f201dc12428fa8d036f546522b3b
      https://github.com/dyninst/dyninst/commit/d6e1a5fe11e5f201dc12428fa8d036f546522b3b
  Author: James A. Kupsch <kupsch@xxxxxxxxxxx>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

  Changed paths:
    M cmake/warnings.cmake
    M instructionAPI/CMakeLists.txt

  Log Message:
  -----------
  Fix frame-larger-than warning

- Increase frame size max when using gcc 6 for non-debug builds and
  for all debug builds (needed for rhel's gcc) to compile
  instructionAPI/src/AMDGPU/cdna2/InstructionDecoder-amdgpu-cdna2.C


  Commit: 49e02647f97cb855471dd5f64ac5a1b1e923fec5
      https://github.com/dyninst/dyninst/commit/49e02647f97cb855471dd5f64ac5a1b1e923fec5
  Author: James A. Kupsch <kupsch@xxxxxxxxxxx>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

  Changed paths:
    M common/src/Pair.h
    M common/src/refCounter.h
    M dataflowAPI/rose/SgAsmExpression.h
    M dataflowAPI/rose/semanticsModule.h
    M dataflowAPI/rose/typedefs.h
    M dataflowAPI/rose/util/StringUtility.h
    M dataflowAPI/src/ExpressionConversionVisitor.h
    M dataflowAPI/src/RoseInsnFactory.h
    M dataflowAPI/src/SymEvalPolicy.h
    M dyninstAPI/h/BPatch_Set.h
    R external/inttypes-win.h
    R external/stdint-win.h
    M proccontrol/src/procset.C

  Log Message:
  -----------
  Remove unneeded #pragma's

- Remove once and interface pragmas
- Replace use of "external/stdint-win.h" and "external/inttypes.h" with
  <stdint.h> and <inttypes.h>


  Commit: e3d87a6c3eb4b96683768b09f9ff91bb20462305
      https://github.com/dyninst/dyninst/commit/e3d87a6c3eb4b96683768b09f9ff91bb20462305
  Author: James A. Kupsch <kupsch@xxxxxxxxxxx>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

  Changed paths:
    M dyninstAPI/src/BPatch_process.C

  Log Message:
  -----------
  Remove check for ancient linux kernel and message


  Commit: 24e33c3f43ea6e844e707a91787f024123a9c2ae
      https://github.com/dyninst/dyninst/commit/24e33c3f43ea6e844e707a91787f024123a9c2ae
  Author: James A. Kupsch <kupsch@xxxxxxxxxxx>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

  Changed paths:
    M cmake/LanguageStandards.cmake
    M common/h/concurrent.h
    M symtabAPI/h/Collections.h
    M symtabAPI/src/Collections.C
    M symtabAPI/src/Type-mem.h

  Log Message:
  -----------
  Test to see if not using a std::string as the hash key will reduce memory usage


Compare: https://github.com/dyninst/dyninst/compare/7569c6e34cf9%5E...24e33c3f43ea
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 7569c6: Improve compiler diagnostic suppression handling, kupsch <=