Merge pull request #2826 from Syniurge/debug-info-fixes

Debug info improvements (for GDB): printing global and imported symbols, non-member and member function calls
This commit is contained in:
Martin Kinkelin 2018-10-16 14:53:47 +02:00 committed by GitHub
commit c7c3f56415
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 479 additions and 116 deletions

View file

@ -577,6 +577,8 @@ void codegenModule(IRState *irs, Module *m) {
assert(!gIR && "gIR not null, codegen already in progress?!");
gIR = irs;
irs->DBuilder.EmitModule(m);
initRuntime();
// Skip pseudo-modules for coverage analysis