Displaying 4 results from an estimated 4 matches for "getsymbolt".
Did you mean:
getsymbols
2004 May 11
3
[LLVMdev] ExecutionEngine/Interpreter/ExternalFunctions.cpp
...r->getModule();
// Check to see if the currently loaded module contains an __iob symbol...
GlobalVariable *IOB = 0;
SymbolTable &ST = M->getSymbolTable();
for (SymbolTable::iterator I = ST.begin(), E = ST.end(); I != E; ++I) {
SymbolTable::VarMap &M = I->second;
for (SymbolTable::VarMap::iterator J = M.begin(), E = M.end();
J != E; ++J)
if (J->first == "__iob")
if ((IOB = dyn_cas...
2004 May 11
0
[LLVMdev] ExecutionEngine/Interpreter/ExternalFunctions.cpp
...gt;
> // Check to see if the currently loaded module contains an __iob symbol...
> GlobalVariable *IOB = 0;
> SymbolTable &ST = M->getSymbolTable();
> for (SymbolTable::iterator I = ST.begin(), E = ST.end(); I != E; ++I) {
> SymbolTable::VarMap &M = I->second;
> for (SymbolTable::VarMap::iterator J = M.begin(), E = M.end();
> J != E; ++J)
> if (J->first == "__iob")
>...
2004 May 11
1
[LLVMdev] ExecutionEngine/Interpreter/ExternalFunctions.cpp
...> > // Check to see if the currently loaded module contains an __iob symbol...
> > GlobalVariable *IOB = 0;
> > SymbolTable &ST = M->getSymbolTable();
> > for (SymbolTable::iterator I = ST.begin(), E = ST.end(); I != E; ++I) {
> > SymbolTable::VarMap &M = I->second;
> > for (SymbolTable::VarMap::iterator J = M.begin(), E = M.end();
> > J != E; ++J)
> > if (J->first...
2003 Dec 31
1
[LLVMdev] Getting A Type By Name
What's the RightWay(tm) to get a named type?
I want to use the Module's symbol table as a repository for named types.
But, it doesn't have a way to get the type out unless you already know
what it is (i.e. the addTypeName() method). Similarly the SymbolTable
class's lookup() method requires a type as well. The Type class also
didn't have anything obvious.
I want something