llvm-objcopy.h 828 B

1234567891011121314151617181920212223242526272829303132
  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. //===----------------------------------------------------------------------===//
  8. #ifndef LLVM_TOOLS_OBJCOPY_OBJCOPY_H
  9. #define LLVM_TOOLS_OBJCOPY_OBJCOPY_H
  10. #include "llvm/Support/Error.h"
  11. namespace llvm {
  12. struct NewArchiveMember;
  13. namespace object {
  14. class Archive;
  15. } // end namespace object
  16. namespace objcopy {
  17. struct CopyConfig;
  18. Expected<std::vector<NewArchiveMember>>
  19. createNewArchiveMembers(CopyConfig &Config, const object::Archive &Ar);
  20. } // end namespace objcopy
  21. } // end namespace llvm
  22. #endif // LLVM_TOOLS_OBJCOPY_OBJCOPY_H