134
|
1 //===- tools/dsymutil/CFBundle.h - CFBundle helper --------------*- C++ -*-===//
|
|
2 //
|
147
|
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
|
134
|
6 //
|
|
7 //===----------------------------------------------------------------------===//
|
|
8
|
147
|
9 #ifndef LLVM_TOOLS_DSYMUTIL_CFBUNDLE_H
|
|
10 #define LLVM_TOOLS_DSYMUTIL_CFBUNDLE_H
|
|
11
|
134
|
12 #include "llvm/ADT/StringRef.h"
|
|
13 #include <string>
|
|
14
|
|
15 namespace llvm {
|
|
16 namespace dsymutil {
|
|
17
|
|
18 struct CFBundleInfo {
|
|
19 std::string VersionStr = "1";
|
|
20 std::string ShortVersionStr = "1.0";
|
|
21 std::string IDStr;
|
|
22 bool OmitShortVersion() const { return ShortVersionStr.empty(); }
|
|
23 };
|
|
24
|
|
25 CFBundleInfo getBundleInfo(llvm::StringRef ExePath);
|
|
26
|
|
27 } // end namespace dsymutil
|
|
28 } // end namespace llvm
|
147
|
29
|
|
30 #endif
|