Patchwork Include tm_p.h in asan.c

login
register
mail settings
Submitter David Edelsohn
Date Nov. 13, 2012, 3:13 a.m.
Message ID <CAGWvnykxZWKoBghAgrWHFhtnc8sd0ySR_Lb9VKHKw1Nj+iXcnQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/198531/
State New
Headers show

Comments

David Edelsohn - Nov. 13, 2012, 3:13 a.m.
gcc/asan.c probably should have been split into two files because it
works at multiple levels.  But given that it invokes
ASM_GENERATE_INTERNAL_LABEL, it needs to include tm_p.h to include
<target>-protos.h.

Committed as obvious to allow AIX bootstrap to proceed.

        * asan.c: Include tm_p.h

Patch

Index: asan.c
===================================================================
--- asan.c      (revision 193465)
+++ asan.c      (working copy)
@@ -32,6 +32,7 @@ 
 #include "expr.h"
 #include "optabs.h"
 #include "output.h"
+#include "tm_p.h"

 /* AddressSanitizer finds out-of-bounds and use-after-free bugs
    with <2x slowdown on average.