hanchenye-llvm-project/llvm/lib
Logan Chien 325823a189 Fix ARM unwind opcode assembler in several cases.
Changes to ARM unwind opcode assembler:

* Fix multiple .save or .vsave directives.  Besides, the
  order is preserved now.

* For the directives which will generate multiple opcodes,
  such as ".save {r0-r11}", the order of the unwind opcode
  is fixed now, i.e. the registers with less encoding value
  are popped first.

* Fix the $sp offset calculation.  Now, we can use the
  .setfp, .pad, .save, and .vsave directives at any order.

Changes to test cases:

* Add test cases to check the order of multiple opcodes
  for the .save directive.

* Fix the incorrect $sp offset in the test case.  The
  stack pointer offset specified in the test case was
  incorrect.  (Changed test cases: ehabi-mc-section.ll and
  ehabi-mc.ll)

* The opcode to restore $sp are slightly reordered.  The
  behavior are not changed, and the new output is same
  as the output of GNU as.  (Changed test cases:
  eh-directive-pad.s and eh-directive-setfp.s)

llvm-svn: 183627
2013-06-09 12:22:30 +00:00
..
Analysis Silencing an MSVC warning about */ being found outside of a comment. 2013-06-04 01:01:56 +00:00
Archive
AsmParser Add a new function attribute 'cold' to functions. 2013-05-24 12:26:52 +00:00
Bitcode Remove the Copied parameter from MemoryObject::readBytes. 2013-05-24 10:54:58 +00:00
CodeGen TargetLowering: Clean up method description comments 2013-06-08 23:51:45 +00:00
DebugInfo Handle relocations that don't point to symbols. 2013-06-05 01:33:53 +00:00
ExecutionEngine Handle (at least don't crash on) relocations with no symbols. 2013-06-05 02:55:01 +00:00
IR DIBuilder: No functionality change. 2013-06-07 18:35:53 +00:00
IRReader
Linker Extend RemapInstruction and friends to take an optional new parameter, a ValueMaterializer. 2013-05-28 15:17:05 +00:00
MC Make SubRegIndex size mandatory, following r183020. 2013-05-31 23:45:26 +00:00
Object Don't artifically restrict input object size. 2013-06-08 04:32:59 +00:00
Option
Support sys::process::get_id() now returns the process ID instead of a process handle on Windows. Patch thanks to Kim Gräsman! 2013-06-08 20:29:03 +00:00
TableGen
Target Fix ARM unwind opcode assembler in several cases. 2013-06-09 12:22:30 +00:00
Transforms Make DeadArgumentElimination more conservative on variadic functions 2013-06-09 02:17:27 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile