Page MenuHomePhabricator

[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

Repository
rL LLVM

Event Timeline

ncw created this revision.Mar 13 2018, 10:41 AM
sbc100 accepted this revision.Mar 13 2018, 12:49 PM
This revision is now accepted and ready to land.Mar 13 2018, 12:49 PM
This revision was automatically updated to reflect the committed changes.