commit | acd0338c61f6c9c7ea46501152ea40afae8e9386 | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Wed May 07 03:03:27 2014 +0000 |
committer | Saleem Abdulrasool <compnerd@compnerd.org> | Wed May 07 03:03:27 2014 +0000 |
tree | a8156e93c18a1269abfa1121db3ab0c3cfb4faad | |
parent | d968717126480d8fab681d4bf8ade59ba20b0ef7 [diff] |
ARM: fix WoA PEI instruction selection The ARM::BLX instruction is an ARM mode instruction. The Windows on ARM target is limited to Thumb instructions. Correctly use the thumb mode tBLXr instruction. This would manifest as an errant write into the object file as the instruction is 4-bytes in length rather than 2. The result would be a corrupted object file that would eventually result in an executable that would crash at runtime. llvm-svn: 208152