Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clang::Type::Kind::Elaborated support for clang 3.9 #34

Open
danny8376 opened this issue Jan 17, 2017 · 0 comments
Open

Clang::Type::Kind::Elaborated support for clang 3.9 #34

danny8376 opened this issue Jan 17, 2017 · 0 comments

Comments

@danny8376
Copy link
Contributor

Since clang 3.9 introduced new Elaborated type, leading sturct typedef unbindable.

crystal src/main.cr -- examples/libc.cr
Don't know how to convert struct div_t (119) (Exception)
0x496e37: *CallStack::unwind:Array(Pointer(Void)) at ??
0x496dca: *CallStack#initialize:Array(Pointer(Void)) at ??
0x496d9a: *CallStack::new:CallStack at ??
0x485f0e: *raise:NoReturn at ??
0x485efe: ??? at ??
0x59458d: *CrystalLib::Parser#type:CrystalLib::Type+ at ??
0x5957ce: *CrystalLib::Parser#visit_typedef_declaration:CrystalLib::Typedef at ??
0x592cc0: *CrystalLib::Parser#visit:(CrystalLib::ASTNode+ | Nil) at ??
0x49454d: ~procProc(Clang::Cursor, Clang::VisitResult) at ??
0x4944b0: ~procProc(LibClang::Cursor, LibClang::Cursor, Pointer(Void), Clang::VisitResult) at ??
0x7f7859fa7f15: ??? at ??
0x7f7859fa745d: ??? at ??
0x7f7859fa7582: ??? at ??
0x7f7859fa7bac: ??? at ??
0x7f7859fb0704: clang_visitChildren at ??
0x5975c8: *Clang::Cursor#visit_children<&Proc(Clang::Cursor, Clang::VisitResult)>:UInt32 at ??
0x592a7e: *CrystalLib::Parser#parse:UInt32 at ??
0x5927bc: *CrystalLib::Parser::parse:Array(CrystalLib::ASTNode+) at ??
0x58f6bb: *CrystalLib::LibTransformer#transform:Crystal::LibDef at ??
0x544715: *Crystal::ASTNode+ at ??
0x58febb: *CrystalLib::LibTransformer at ??
0x544745: *Crystal::ASTNode+ at ??
0x48596d: ??? at ??
0x492ab9: main at ??
0x7f7858a75291: __libc_start_main at ??
0x48513a: _start at ??
0x0: ??? at ??
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant