In tutorial "8. Kaleidoscope: Compiling to Object Code" a call to TargetMachine->addPassesToEmitFile(pass, dest, FileType) is missing nullptr as its 3rd value.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Thanks! This matches the code in llvm/examples/Kaleidoscope/Chapter8/toy.cpp
Do you have commit access, or would you like me to commit it for you?