summaryrefslogtreecommitdiffstats
path: root/llvm/tools/dsymutil/BinaryHolder.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/dsymutil/BinaryHolder.h')
-rw-r--r--llvm/tools/dsymutil/BinaryHolder.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/dsymutil/BinaryHolder.h b/llvm/tools/dsymutil/BinaryHolder.h
index c072acac2b2..e4558580f9a 100644
--- a/llvm/tools/dsymutil/BinaryHolder.h
+++ b/llvm/tools/dsymutil/BinaryHolder.h
@@ -14,6 +14,7 @@
#ifndef LLVM_TOOLS_DSYMUTIL_BINARYHOLDER_H
#define LLVM_TOOLS_DSYMUTIL_BINARYHOLDER_H
+#include "llvm/ADT/Triple.h"
#include "llvm/Object/Archive.h"
#include "llvm/Object/Error.h"
#include "llvm/Object/ObjectFile.h"
@@ -108,6 +109,8 @@ public:
template <typename ObjectFileType> const ObjectFileType &GetAs() {
return cast<ObjectFileType>(*CurrentObjectFile);
}
+
+ static Triple getTriple(const object::MachOObjectFile &Obj);
};
}
}
OpenPOWER on IntegriCloud