summaryrefslogtreecommitdiff
path: root/tools/yaml2obj/yaml2obj.h
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2013-06-10 23:44:15 +0000
committerSean Silva <silvas@purdue.edu>2013-06-10 23:44:15 +0000
commit5918b7a03d4d6a52e18f7c102250c9cfd6ae52dd (patch)
tree0b504cae7496e7c519b6ac722286e70ffed66b3f /tools/yaml2obj/yaml2obj.h
parent9bdd78501484a1add2d8a757fd29960dd9fc9de7 (diff)
downloadllvm-5918b7a03d4d6a52e18f7c102250c9cfd6ae52dd.tar.gz
llvm-5918b7a03d4d6a52e18f7c102250c9cfd6ae52dd.tar.bz2
llvm-5918b7a03d4d6a52e18f7c102250c9cfd6ae52dd.tar.xz
[yaml2obj] Initial ELF support.
Currently, only emitting the ELF header is supported (no sections or segments). The ELFYAML code organization is broadly similar to the COFFYAML code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/yaml2obj/yaml2obj.h')
-rw-r--r--tools/yaml2obj/yaml2obj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/yaml2obj/yaml2obj.h b/tools/yaml2obj/yaml2obj.h
index 7197410b26..095435c549 100644
--- a/tools/yaml2obj/yaml2obj.h
+++ b/tools/yaml2obj/yaml2obj.h
@@ -17,5 +17,6 @@ namespace llvm {
class MemoryBuffer;
}
int yaml2coff(llvm::raw_ostream &Out, llvm::MemoryBuffer *Buf);
+int yaml2elf(llvm::raw_ostream &Out, llvm::MemoryBuffer *Buf);
#endif