summaryrefslogtreecommitdiff
path: root/tools/yaml2obj
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2013-06-11 00:13:52 +0000
committerSean Silva <silvas@purdue.edu>2013-06-11 00:13:52 +0000
commit457c8ebfd070eb7ee840ec97142f975974cfc834 (patch)
tree54184817e7197b1d96caeaaf79f92d545980910e /tools/yaml2obj
parent981aec814c4e0b44636547422dab5955e4065077 (diff)
downloadllvm-457c8ebfd070eb7ee840ec97142f975974cfc834.tar.gz
llvm-457c8ebfd070eb7ee840ec97142f975974cfc834.tar.bz2
llvm-457c8ebfd070eb7ee840ec97142f975974cfc834.tar.xz
Fix dubious type name similar to member name.
Should bring bots back to life. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/yaml2obj')
-rw-r--r--tools/yaml2obj/yaml2elf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/yaml2obj/yaml2elf.cpp b/tools/yaml2obj/yaml2elf.cpp
index d59594236f..45ccb629e7 100644
--- a/tools/yaml2obj/yaml2elf.cpp
+++ b/tools/yaml2obj/yaml2elf.cpp
@@ -24,7 +24,7 @@ using namespace llvm;
template <class ELFT>
static void writeELF(raw_ostream &OS, const ELFYAML::Object &Doc) {
- const ELFYAML::Header &Hdr = Doc.Header;
+ const ELFYAML::FileHeader &Hdr = Doc.Header;
using namespace llvm::ELF;
using namespace llvm::object;
typename ELFObjectFile<ELFT>::Elf_Ehdr Header;