Don't crash when compiling inline assembler containing .file directives.
authorAdrian Prantl <aprantl@apple.com>
Wed, 9 Mar 2016 17:32:56 +0000 (17:32 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 9 Mar 2016 17:32:56 +0000 (17:32 +0000)
commitd6cc53f3c439a7045b4c3a13e5e8b46e4e5577a4
treeacce4c2576bba93b2743b1bc92ee057219c0d9aa
parente4e15ba046be261b3f7767a035d24abbde4957fa
Don't crash when compiling inline assembler containing .file directives.
Removing the assertion is  safe to do because any module level inline
assembly is always emitted first via AsmPrinter::doInitialization().

http://reviews.llvm.org/D16101
rdar://22690666

llvm-svn: 263033
llvm/lib/MC/MCDwarf.cpp
llvm/test/DebugInfo/X86/inline-asm-locs.ll [new file with mode: 0644]