From 24071f551a540fe6bf7a7b89e235568c3bd6581d Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Mon, 23 Mar 2020 16:08:18 -0700 Subject: [PATCH] scudo: Create a public include directory. NFCI. For MTE error reporting we will need to expose interfaces for crash handlers to use to interpret scudo headers and metadata. The intent is that these interfaces will live in scudo/interface.h. Move the existing interface.h into an include/scudo directory and make it independent of the internal headers, so that we will be able to add the interfaces there. Differential Revision: https://reviews.llvm.org/D76648 --- utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn b/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn index 88b820ad03e..2cb5613810c 100644 --- a/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn +++ b/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn @@ -88,7 +88,10 @@ source_set("cxx_wrapper_sources") { } config("scudo_config") { - include_dirs = [ "//compiler-rt/lib/scudo/standalone" ] + include_dirs = [ + "//compiler-rt/lib/scudo/standalone", + "//compiler-rt/lib/scudo/standalone/include", + ] if (current_os == "android") { cflags = [ "-fno-emulated-tls" ] }