#DICompileUnitAttr
Explore tagged Tumblr posts
Text
Debugging now works in my toy MLIR compiler!
Screenshot Screenshot I’ve now got both line debugging (break, next, continue) working, and variable display (and modification) debugging now working for my toy language and compiler. Here’s an example program: BOOL i1; i1 = TRUE; PRINT i1; INT8 i8; i8 = 10; PRINT i8; INT16 i16; i16 = 1000; PRINT i16; INT32 i32; i32 = 100000; PRINT i32; INT64 i64; i64 = 100000000000; PRINT i64; FLOAT32…

View On WordPress
#DIBasicTypeAttr#DICompileUnitAttr#DILocalVariableAttr#DISubprogramAttr#DISubroutineTypeAttr#getFusedLoc#LLVM IR#lowering#MLIR#mlir::LLVM::DbgDeclareOp#verify
0 notes