Jonas Devlieghere | bdc984c | 2017-11-30 10:25:28 +0000 | [diff] [blame] | 1 | //===- 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 Kyrtzidis | f4bf809 | 2018-09-03 16:22:05 +0000 | [diff] [blame] | 10 | #ifndef LLVM_TOOLS_DSYMUTIL_CFBUNDLE_H |
| 11 | #define LLVM_TOOLS_DSYMUTIL_CFBUNDLE_H |
| 12 | |
Jonas Devlieghere | bdc984c | 2017-11-30 10:25:28 +0000 | [diff] [blame] | 13 | #include "llvm/ADT/StringRef.h" |
| 14 | #include <string> |
| 15 | |
| 16 | namespace llvm { |
| 17 | namespace dsymutil { |
| 18 | |
| 19 | struct 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 | |
| 26 | CFBundleInfo getBundleInfo(llvm::StringRef ExePath); |
| 27 | |
| 28 | } // end namespace dsymutil |
| 29 | } // end namespace llvm |
Argyrios Kyrtzidis | f4bf809 | 2018-09-03 16:22:05 +0000 | [diff] [blame] | 30 | |
| 31 | #endif |