summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit3faa82219ad19d5e19ebdd90a2d4434d40b565ad (patch)
tree8381d4a581177257e2c21723dd94626dc820a11d /llvm/lib/CodeGen/ELFWriter.cpp
parent29f83e099765528eab3c848df524d4b9f7e025e5 (diff)
downloadbcm5719-llvm-3faa82219ad19d5e19ebdd90a2d4434d40b565ad.tar.gz
bcm5719-llvm-3faa82219ad19d5e19ebdd90a2d4434d40b565ad.zip
new is not a valid default anywhere, so make this pure virtual
llvm-svn: 22542
Diffstat (limited to 'llvm/lib/CodeGen/ELFWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/ELFWriter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/ELFWriter.cpp b/llvm/lib/CodeGen/ELFWriter.cpp
index 7963b658d66..cdbc13a20f1 100644
--- a/llvm/lib/CodeGen/ELFWriter.cpp
+++ b/llvm/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!");
OpenPOWER on IntegriCloud