summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ELFWriter.cpp
diff options
context:
space:
mode:
authorNicolas Geoffray <nicolas.geoffray@lip6.fr>2008-04-16 20:46:05 +0000
committerNicolas Geoffray <nicolas.geoffray@lip6.fr>2008-04-16 20:46:05 +0000
commita7557dfe71691a6406f2af76daaff29b515d3e85 (patch)
treee1d48396b56c82a14a330b964bcb985fdf6f43fd /llvm/lib/CodeGen/ELFWriter.cpp
parentb7066c75393275b1a39d03cda7eeede370d922ad (diff)
downloadbcm5719-llvm-a7557dfe71691a6406f2af76daaff29b515d3e85.tar.gz
bcm5719-llvm-a7557dfe71691a6406f2af76daaff29b515d3e85.zip
Correlate stubs with functions in JIT: when emitting a stub, the JIT tells the memory manager which function
the stub will resolve. llvm-svn: 49814
Diffstat (limited to 'llvm/lib/CodeGen/ELFWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/ELFWriter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/ELFWriter.cpp b/llvm/lib/CodeGen/ELFWriter.cpp
index 8b6fbb779af..baba0551dd4 100644
--- a/llvm/lib/CodeGen/ELFWriter.cpp
+++ b/llvm/lib/CodeGen/ELFWriter.cpp
@@ -114,11 +114,12 @@ namespace llvm {
/// JIT SPECIFIC FUNCTIONS - DO NOT IMPLEMENT THESE HERE!
- void startFunctionStub(unsigned StubSize, unsigned Alignment = 1) {
+ void startFunctionStub(const GlobalValue* F, unsigned StubSize,
+ unsigned Alignment = 1) {
assert(0 && "JIT specific function called!");
abort();
}
- void *finishFunctionStub(const Function *F) {
+ void *finishFunctionStub(const GlobalValue *F) {
assert(0 && "JIT specific function called!");
abort();
return 0;
OpenPOWER on IntegriCloud