Although the supported way of invoking clang on Windows is via the cl driver, some people may wish to use the g++ driver. and manually specify -gcodeview. This codepath is currently broken, as it will cause column information to be emitted, which causes debuggers to not work.
While we still don't claim to support clang on Windows without the cl driver, this is a straightforward patch to make things slightly better for people who want to go this route anyway.