aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/ELFWriter.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-07-28 18:13:59 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-07-28 18:13:59 +0000
commitfe660397e14ecba84e792ada489f2bda7269b413 (patch)
treeabbe296b7e73783a490283be59ba14edcd0812de /lib/CodeGen/ELFWriter.cpp
parent3be872ed59c631213fc84c29603545e362623c76 (diff)
new is not a valid default anywhere, so make this pure virtual
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22542 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ELFWriter.cpp')
-rw-r--r--lib/CodeGen/ELFWriter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/ELFWriter.cpp b/lib/CodeGen/ELFWriter.cpp
index 7963b658d6..cdbc13a20f 100644
--- a/lib/CodeGen/ELFWriter.cpp
+++ b/lib/CodeGen/ELFWriter.cpp
@@ -85,6 +85,11 @@ namespace llvm {
return 0;
}
+ virtual unsigned char* allocateGlobal(unsigned size, unsigned alignment) {
+ assert(0 && "Globals not implemented yet!");
+ return 0;
+ }
+
/// JIT SPECIFIC FUNCTIONS - DO NOT IMPLEMENT THESE HERE!
void startFunctionStub(unsigned StubSize) {
assert(0 && "JIT specific function called!");