Displaying 3 results from an estimated 3 matches for "handleextern".
2010 Feb 17
2
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...e;
static void HandleDefinition() {
if (FunctionAST *F = ParseDefinition()) {
if (Function *LF = F->Codegen()) {
fprintf(stderr, "Read function definition:");
LF->dump();
}
} else {
// Skip token for error recovery.
getNextToken();
}
}
static void HandleExtern() {
if (PrototypeAST *P = ParseExtern()) {
if (Function *F = P->Codegen()) {
fprintf(stderr, "Read extern: ");
F->dump();
}
} else {
// Skip token for error recovery.
getNextToken();
}
}
static void HandleTopLevelExpression() {
// Evaluate a top...
2010 Feb 17
0
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...ctionAST *F = ParseDefinition()) {
> if (Function *LF = F->Codegen()) {
> fprintf(stderr, "Read function definition:");
> LF->dump();
> }
> } else {
> // Skip token for error recovery.
> getNextToken();
> }
> }
>
> static void HandleExtern() {
> if (PrototypeAST *P = ParseExtern()) {
> if (Function *F = P->Codegen()) {
> fprintf(stderr, "Read extern: ");
> F->dump();
> }
> } else {
> // Skip token for error recovery.
> getNextToken();
> }
> }
>
> static void...
2010 Feb 17
1
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
... if (Function *LF = F->Codegen()) {
>> fprintf(stderr, "Read function definition:");
>> LF->dump();
>> }
>> } else {
>> // Skip token for error recovery.
>> getNextToken();
>> }
>> }
>>
>> static void HandleExtern() {
>> if (PrototypeAST *P = ParseExtern()) {
>> if (Function *F = P->Codegen()) {
>> fprintf(stderr, "Read extern: ");
>> F->dump();
>> }
>> } else {
>> // Skip token for error recovery.
>> getNextToken();
>...