Displaying 2 results from an estimated 2 matches for "stkrld".
Did you mean:
stared
2003 Nov 23
0
[LLVMdev] Linkage Types again!
...! I'm debating the pros and cons of doing this.
This sounds like something you could do much more cleanly with some sort
of interprocedural analysis. You could stick that in your link-time
Stacker optimizer. :-) For example:
stkrc -c 1.st -o 1.o
stkrc -c 2.st -o 2.o
...
stkrc -c n.st -o n.o
stkrld -o program 1.o 2.o ... n.o
(links bytecode files, and does all the inter-procedural analysis and
optimizations you need)
We do stuff like this with gccld, for C/C++ programs.
Hope this helps,
-Brian
--
gaeke at uiuc.edu
2003 Nov 23
3
[LLVMdev] Linkage Types again!
The problem I'm experiencing with Stacker has to do with linkage types
(again!).
What I'm trying to do is create a "global appending" array. In
compilation units that don't include "main", I generate it with:
TheStack = new GlobalVariable(
/*type=*/ stack_type,
/*isConstant=*/ false,
/*Linkage=*/