1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

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
This commit is contained in:
Peter Collingbourne 2020-03-23 16:08:18 -07:00
parent 019f4fb9d9
commit 24071f551a

View File

@ -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" ]
}