blob: 5f241849910df2e1b481aa2bce52c477ac6a1932 [file] [log] [blame]
Jonas Devliegherebdc984c2017-11-30 10:25:28 +00001//===- tools/dsymutil/CFBundle.h - CFBundle helper --------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
Argyrios Kyrtzidisf4bf8092018-09-03 16:22:05 +000010#ifndef LLVM_TOOLS_DSYMUTIL_CFBUNDLE_H
11#define LLVM_TOOLS_DSYMUTIL_CFBUNDLE_H
12
Jonas Devliegherebdc984c2017-11-30 10:25:28 +000013#include "llvm/ADT/StringRef.h"
14#include <string>
15
16namespace llvm {
17namespace dsymutil {
18
19struct CFBundleInfo {
20 std::string VersionStr = "1";
21 std::string ShortVersionStr = "1.0";
22 std::string IDStr;
23 bool OmitShortVersion() const { return ShortVersionStr.empty(); }
24};
25
26CFBundleInfo getBundleInfo(llvm::StringRef ExePath);
27
28} // end namespace dsymutil
29} // end namespace llvm
Argyrios Kyrtzidisf4bf8092018-09-03 16:22:05 +000030
31#endif