-g in data-only files

I have just noticed that -g doesn't emit debug info for data-only files.
Before I get deep into fixing this, let me make sure it isn't intentional?

Not even for externally visible symbols? That sounds like a bug.

Evan

Not even for externally visible symbols? That sounds like a bug.

Evan

I thought so, just checking.