[DynInst_API:] [dyninst/dyninst] 9cba0b: Don't include compiler-specific headers (#1477)


Date: Wed, 09 Aug 2023 12:57:06 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] 9cba0b: Don't include compiler-specific headers (#1477)
  Branch: refs/heads/master
  Home:   https://github.com/dyninst/dyninst
  Commit: 9cba0b348ce2006ce8a41e8ab549f05abbac377f
      https://github.com/dyninst/dyninst/commit/9cba0b348ce2006ce8a41e8ab549f05abbac377f
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M symtabAPI/src/dwarfWalker.h

  Log Message:
  -----------
  Don't include compiler-specific headers (#1477)

Including anything in <bits/*> is not portable. Also, the contents of
this header were never used.

Stan Cox (scox@xxxxxxxxxx) reported:

It's not included as the first thing in the file, which means it can't
use the precompiled version of that header
(https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html) and
therefore it's just including the entire C++ standard library, which is
going to be much slower than just including the right headers.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] 9cba0b: Don't include compiler-specific headers (#1477), Tim Haines <=