1 //===-- MachOUtils.h - Mach-o specific helpers for dsymutil --------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TOOLS_DSYMUTIL_MACHOUTILS_H
10 #define LLVM_TOOLS_DSYMUTIL_MACHOUTILS_H
13 #include "llvm/ADT/StringRef.h"
18 namespace MachOUtils {
20 struct ArchAndFilename {
21 std::string Arch, Path;
22 ArchAndFilename(StringRef Arch, StringRef Path) : Arch(Arch), Path(Path) {}
25 bool generateUniversalBinary(SmallVectorImpl<ArchAndFilename> &ArchFiles,
26 StringRef OutputFileName, const LinkOptions &);
30 #endif // LLVM_TOOLS_DSYMUTIL_MACHOUTILS_H