[COMMITTED V10 3/7] CTF/BTF debug formats
David Edelsohn
dje.gcc@gmail.com
Tue Jun 29 03:05:45 GMT 2021
bootstrap: Include tm_p.h in btfout.c and ctfout.c.
btfout.c and ctfout.c reference target-specific macros that
may reference target-specific functions that are declared in a
target-specific header. tm_p.h must be included to access the
target-specific header.
Bootstrapped on powerpc-ibm-aix7.2.3.0. Committed as obvious.
Thanks, David
gcc/ChangeLog:
* btfout.c: Include tm_p.h
* ctfout.c: Same.
diff --git a/gcc/btfout.c b/gcc/btfout.c
index 45954b4b7b9..2316dea5f27 100644
--- a/gcc/btfout.c
+++ b/gcc/btfout.c
@@ -26,6 +26,7 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
+#include "tm_p.h"
#include "output.h"
#include "dwarf2asm.h"
#include "debug.h"
diff --git a/gcc/ctfout.c b/gcc/ctfout.c
index c264fd6661a..71d7a62e6ef 100644
--- a/gcc/ctfout.c
+++ b/gcc/ctfout.c
@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see
#include "system.h"
#include "coretypes.h"
#include "target.h"
+#include "tm_p.h"
#include "output.h"
#include "dwarf2asm.h"
#include "debug.h"
More information about the Gcc-patches
mailing list