[mips] Implement NaCl sandboxing of loads, stores and SP changes:
AuditedrL203484

Description

[mips] Implement NaCl sandboxing of loads, stores and SP changes:

  • Add masking instructions before loads and stores (in MC layer).
  • Add masking instructions after SP changes (in MC layer).
  • Forbid loads, stores and SP changes in delay slots (in MI layer).

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

dsanders accepted this commit.Apr 25 2014, 4:44 AM