MCNullStreamer: assign file IDs to resolve crashes and errors
authorAlp Toker <alp@nuanti.com>
Thu, 19 Jun 2014 17:15:36 +0000 (17:15 +0000)
committerAlp Toker <alp@nuanti.com>
Thu, 19 Jun 2014 17:15:36 +0000 (17:15 +0000)
commit36a321160e61149088f306c3605a9ad5fdd67e0a
treead9103c2b51b1516e59a82ee64d0d356f638a213
parente4d0a5ec1841ac5a407c3a07b62749923dda74c2
MCNullStreamer: assign file IDs to resolve crashes and errors

Use the MCStreamer base implementations for file ID tracking instead of
overriding them as no-ops.

Avoids assertions when streaming Dwarf debug info, and fixes ASM parsing of loc
and file directives.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211282 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCNullStreamer.cpp
test/DebugInfo/global.ll
test/MC/AsmParser/directive_file.s
test/MC/AsmParser/directive_line.s
test/MC/AsmParser/directive_loc.s