- May 12, 2012
-
-
Benjamin Kramer authored
Based on a patch by Team PaX. llvm-svn: 156709
-
Benjamin Kramer authored
Patch by Team PaX! llvm-svn: 156708
-
Benjamin Kramer authored
llvm-svn: 156707
-
Benjamin Kramer authored
Based on a patch from PaX Team. llvm-svn: 156706
-
Benjamin Kramer authored
Based on a patch from PaX Team. llvm-svn: 156705
-
Stepan Dyatkovskiy authored
Ordinary patch for PR1255. Added new case-ranges orientated methods for adding/removing cases in SwitchInst. After this patch cases will internally representated as ConstantArray-s instead of ConstantInt, externally cases wrapped within the ConstantRangesSet object. Old methods of SwitchInst are also works well, but marked as deprecated. So on this stage we have no side effects except that I added support for case ranges in BitcodeReader/Writer, of course test for Bitcode is also added. Old "switch" format is also supported. llvm-svn: 156704
-
Jay Foad authored
the address of a function. llvm-svn: 156703
-
Sirish Pande authored
llvm-svn: 156700
-
Jordy Rose authored
llvm-svn: 156699
-
Sirish Pande authored
llvm-svn: 156698
-
Akira Hatanaka authored
llvm-svn: 156697
-
Akira Hatanaka authored
llvm-svn: 156696
-
Akira Hatanaka authored
the ones that get or set the frame index for the $gp save slot. Remove the piece of code in MipsFunctionInfo::getGlobalBaseReg() which returns GP. This function should always return a virtual register. llvm-svn: 156695
-
Akira Hatanaka authored
is the $gp save slot. llvm-svn: 156694
-
Akira Hatanaka authored
llvm-svn: 156693
-
Akira Hatanaka authored
- Stop creating stack frame objects needed for saving $gp. - Insert a node that copies the global pointer register to register $gp before the call node. This will ensure $gp is valid at the entry of the called function. llvm-svn: 156692
-
Akira Hatanaka authored
- Stop emitting instructions needed to initialize the global pointer register. - Stop emitting .cprestore directive. - Do not take into account the $gp save slot when computing stack size. llvm-svn: 156691
-
Jakob Stoklund Olesen authored
TableGen doesn't need to search through the SubRegs map to find an inverse entry. llvm-svn: 156690
-
Akira Hatanaka authored
- Remove code which lowers pseudo SETGP01. - Fix LowerSETGP01. The first two of the three instructions that are emitted to initialize the global pointer register now use register $2. - Stop emitting .cpload directive. llvm-svn: 156689
-
Chad Rosier authored
llvm-svn: 156687
-
Jim Ingham authored
Add a useful error message to "log enable" with the wrong number of arguments, and reject "log enable lldb" which just silently did nothing before. llvm-svn: 156686
-
Jakob Stoklund Olesen authored
Empty live ranges represent undef and still get allocated, but they won't appear in LiveIntervalUnions. Patch by Patrik Hägglund! llvm-svn: 156685
-
rdar://problem/11439169Greg Clayton authored
"lldb -a i386" doesn't set the calculator mode correctly if run on a 64 bit system. The previous logic always used the current host architecture, not the default architecture. The default arch gets set into a static varaible in lldb_private::Target when an arch is set from the command line: lldb -a i386 We now use the default arch correctly. llvm-svn: 156680
-
Akira Hatanaka authored
pointer register. This is the first of the series of patches which clean up the way global pointer register is used. The patches will make the following improvements: - Make $gp an allocatable temporary register rather than reserving it. - Use a virtual register as the global pointer register and let the register allocator decide which register to assign to it or whether spill/reloads are needed. - Make sure $gp is valid at the entry of a called function, which is necessary for functions using lazy binding. - Remove the need for emitting .cprestore and .cpload directives. llvm-svn: 156671
-
-
Jim Ingham authored
llvm-svn: 156668
-
Jim Ingham authored
Also changed the defaults for SBThread::Step* to not delete extant plans. Also added some test cases to test more complex stepping scenarios. llvm-svn: 156667
-
Douglas Gregor authored
attribute, rather than requiring multiple cases in consumers of this information. llvm-svn: 156666
-
Michael J. Spencer authored
llvm-svn: 156665
-
Anna Zaks authored
llvm-svn: 156664
-
Akira Hatanaka authored
llvm-svn: 156663
-
Chad Rosier authored
llvm-svn: 156662
-
Anna Zaks authored
llvm-svn: 156661
-
Anna Zaks authored
llvm-svn: 156660
-
Anna Zaks authored
llvm-svn: 156659
-
Chad Rosier authored
llvm-svn: 156658
-
Douglas Gregor authored
__attribute__((aligned)). Fixes <rdar://problem/11435441>, a regression I introduced in r156003. This is the narrow fix; a more comprehensive fix is coming. llvm-svn: 156657
-
Akira Hatanaka authored
llvm-svn: 156656
-
Bill Wendling authored
llvm-svn: 156655
-
Richard Smith authored
the correct type and the correct source location in the diagnostic. Spotted by Johannes Schaub! llvm-svn: 156654
-