varargs is less safe than llvm::formatv which uses a template, and the LLVM log call is more configurable than going directly to stderr in this place in LLD
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Differential D44441
[WebAssembly] Replace varargs debugPrint with standard log call ClosedPublic Authored by ncw on Mar 13 2018, 10:41 AM.
Details Summary varargs is less safe than llvm::formatv which uses a template, and the LLVM log call is more configurable than going directly to stderr in this place in LLD
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, sunfish, aheejin and 3 others. · View Herald TranscriptMar 13 2018, 10:41 AM This revision is now accepted and ready to land.Mar 13 2018, 12:49 PM Closed by commit rL327507: [WebAssembly] Replace varargs debugPrint with standard log call (authored by ncw). · Explain WhyMar 14 2018, 6:52 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 138342 lld/trunk/wasm/Writer.cpp
|