[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / compiler-rt / lib / dfsan / dfsan_chained_origin_depot.h
blob83b9e29e1b710d4cd042553dbbf1515ae8a312dc
1 //===-- dfsan_chained_origin_depot.h ----------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file is a part of DataFlowSanitizer.
11 // A storage for chained origins.
12 //===----------------------------------------------------------------------===//
14 #ifndef DFSAN_CHAINED_ORIGIN_DEPOT_H
15 #define DFSAN_CHAINED_ORIGIN_DEPOT_H
17 #include "sanitizer_common/sanitizer_chained_origin_depot.h"
18 #include "sanitizer_common/sanitizer_common.h"
20 namespace __dfsan {
22 ChainedOriginDepot* GetChainedOriginDepot();
24 void ChainedOriginDepotLockBeforeFork();
25 void ChainedOriginDepotUnlockAfterFork(bool fork_child);
27 } // namespace __dfsan
29 #endif // DFSAN_CHAINED_ORIGIN_DEPOT_H