The Linux version of the compiler does not generate DW_TAG_module DWARF entries; there are debugging use case where synthesizing function names is helpful.
I don't know when this was fixed, but DW_TAG_module seems to be included in all the test cases I've worked with. Unless you have a specific test case where this doesn't happen this bug is now fixed :)