commit | ae5480dda71f4d4c386a9746d26eb143c342b7a4 | [log] [tgz] |
---|---|---|
author | Matthias Braun <matze@braunis.de> | Tue Jun 06 19:00:58 2017 +0000 |
committer | Matthias Braun <matze@braunis.de> | Tue Jun 06 19:00:58 2017 +0000 |
tree | 20b0def15f59b28e6f9941afc83cb24f44eeae00 | |
parent | 5c0660f0168c63a5482438367b08fca1ee655c44 [diff] |
MIRPrinter: Avoid assert() when printing empty INLINEASM strings. CodeGen uses MO_ExternalSymbol to represent the inline assembly strings. Empty strings for symbol names appear to be invalid. For now just special case the output code to avoid hitting an `assert()` in `printLLVMNameWithoutPrefix()`. This fixes https://llvm.org/PR33317 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304815 91177308-0d34-0410-b5e6-96231b3b80d8