[mips] Implement NaCl sandboxing of function calls:
authorSasa Stankovic <Sasa.Stankovic@imgtec.com>
Tue, 11 Mar 2014 21:23:40 +0000 (21:23 +0000)
committerSasa Stankovic <Sasa.Stankovic@imgtec.com>
Tue, 11 Mar 2014 21:23:40 +0000 (21:23 +0000)
commitff73a2bf86d03dd540afccbe0ba669f1f03ea8a2
treebad1edb70079adece1f05726a20d6493e38d5275
parentd1742f6136e4bcce82d7e70ff71b7b93038dbb1c
[mips] Implement NaCl sandboxing of function calls:

  * Add masking instructions before indirect calls (in MC layer).
  * Align call + branch delay to the bundle end (in MC layer).

Differential Revision: http://llvm-reviews.chandlerc.com/D3032

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203606 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
test/MC/Mips/nacl-mask.s