[sanitizer] Improve FreeBSD ASLR detection
[llvm-project.git] / llvm / tools / llvm-objcopy / llvm-objcopy.h
blob182c95dc64c8c069de36249379dd3ae92f069691
1 //===- llvm-objcopy.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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TOOLS_OBJCOPY_OBJCOPY_H
10 #define LLVM_TOOLS_OBJCOPY_OBJCOPY_H
12 #include "llvm/Support/Error.h"
13 #include "llvm/Support/raw_ostream.h"
15 namespace llvm {
17 struct NewArchiveMember;
19 namespace object {
21 class Archive;
23 } // end namespace object
25 namespace objcopy {
26 class MultiFormatConfig;
27 Expected<std::vector<NewArchiveMember>>
28 createNewArchiveMembers(const MultiFormatConfig &Config,
29 const object::Archive &Ar);
31 } // end namespace objcopy
32 } // end namespace llvm
34 #endif // LLVM_TOOLS_OBJCOPY_OBJCOPY_H