This is an archive of the discontinued LLVM Phabricator instance.

Switch "posix" to the new log channel registration mechanism
ClosedPublic

Authored by labath on Feb 22 2017, 4:18 AM.

Details

Summary

This also removes magic rename code, which caused the channel to be
called "linux" when built on a linux machine, and "freebsd" when built
on a freebsd one, which seems unnecessary - registering a new channel is
sufficiently simple now that if we wish to log something extremely
os-specific, we can just create a new channel. None of the current
categories seem very specific to one OS or another.

Diff Detail

Repository
rL LLVM

Event Timeline

labath created this revision.Feb 22 2017, 4:18 AM
krytarowski accepted this revision.Feb 22 2017, 12:03 PM

I had locally code registering NetBSD specific log channel and this patch is removing this needless code. Thank you for this work!

This revision is now accepted and ready to land.Feb 22 2017, 12:03 PM
This revision was automatically updated to reflect the committed changes.