- May 12, 2012
-
-
Gregory Szorc authored
* Document index argument in TranslationUnit.from_source * Add numeric error code to TranslationUnitSaveError string representation * Use None instead of [] for default argument value in TranslationUnit.codeComplete llvm-svn: 156722
-
Gregory Szorc authored
llvm-svn: 156721
-
Jordy Rose authored
llvm-svn: 156720
-
Jordy Rose authored
Once we've found a "good" method, we don't need to check its argument types again. (Even if we might have later found a "bad" method, we were already caching the method we first looked up.) llvm-svn: 156719
-
Jordy Rose authored
llvm-svn: 156718
-
Jordy Rose authored
llvm-svn: 156717
-
Benjamin Kramer authored
llvm-svn: 156716
-
Rafael Espindola authored
llvm-svn: 156715
-
Rafael Espindola authored
for nesting. llvm-svn: 156714
-
Jordy Rose authored
Also, unify some diagnostics for boxed expressions that have the same form. Fixes PR12804. llvm-svn: 156713
-
Benjamin Kramer authored
llvm-svn: 156712
-
Alexander Potapenko authored
llvm-svn: 156711
-
Evgeniy Stepanov authored
In the current implementation AsanThread::GetFrameNameByAddr scans the stack for a magic guard value to locate base address of the stack frame. This is not reliable, especially on ARM, where the code that stores this magic value has to construct it in a register from two small intermediates; this register can then end up stored in a random stack location in the prologue of another function. With this change, GetFrameNameByAddr scans the shadow memory for the signature of a left stack redzone instead. It is now possible to remove the magic from the instrumentation pass for additional performance gain. We keep it there for now just to make sure the new algorithm does not fail in some corner case. llvm-svn: 156710
-
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
-