Don't crash when compiling inline assembler containing .file directives with clang -g.
Removing the assertion should be safe because the module-wide inline assembly is always emitted first ( AsmPrinter::doInitialization() ).
Comments very welcome.
 Differential  D16101  
Don't crash when compiling inline assembler containing .file directives with clang -g. Authored by aprantl on Jan 11 2016, 5:24 PM. 
Details 
Diff Detail 
 Event TimelineComment Actions LGTM, might want to add a comment about "this is safe to do because any module level inline assembly would be emitted in doInitialization" or something like that. Kinda surprised this worked at all - even with this patch. :)  |