[PATCH] D56535: Support MSP430

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 10 09:33:09 PST 2019


ruiu added inline comments.


================
Comment at: lld/trunk/ELF/Arch/MSP430.cpp:45
+  // mov.b #0, r3
+  TrapInstr = {0x43, 0x43};
+}
----------------
ruiu wrote:
> TrapInstr must be 4 bytes long. Otherwise it would create a garbage on every two bytes.
Does this instruction actually triggers a CPU interrupt?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56535/new/

https://reviews.llvm.org/D56535





More information about the llvm-commits mailing list