[PATCH] Emit a trap instruction for IR 'unreachable'

Yaron Keren yaron.keren at gmail.com
Sat Apr 19 00:42:32 PDT 2014


  code was cut off, trying again:

  `foo:                                    # @foo
  # BB#0:                                 # %entry
          leaq    _ZN11xercesc_2_56XMLUni16fgNotationStringE(%rip), %rax
          leaq    _ZN11xercesc_2_513SchemaSymbols21fgURI_SCHEMAFORSCHEMAE(%rip), %rcx
          orq     %rax, %rcx
          ud2

  `

http://reviews.llvm.org/D3417






More information about the llvm-commits mailing list