- Oct 01, 2011
-
-
John McCall authored
to take a FunctionDecl* instead of an llvm::StringRef. Eventually we might push more logic in there, like using slightly different conventions for C++ methods. Also, fix a bug where 'copy' and 'create' were being caught in non-camel-cased strings. We want copyFoo and CopyFoo and XCopy but not Xcopy or xcopy. llvm-svn: 140911
-
Greg Clayton authored
symbol context that represents an inlined function. This function has been renamed internally to: bool SymbolContext::GetParentOfInlinedScope (const Address &curr_frame_pc, SymbolContext &next_frame_sc, Address &next_frame_pc) const; And externally to: SBSymbolContext SBSymbolContext::GetParentOfInlinedScope (const SBAddress &curr_frame_pc, SBAddress &parent_frame_addr) const; The correct blocks are now correctly calculated. Switched the stack backtracing engine (in StackFrameList) and the address context printing over to using the internal SymbolContext::GetParentOfInlinedScope(...) so all inlined callstacks will match exactly. llvm-svn: 140910
-
Chandler Carruth authored
invocations on Linux. llvm-svn: 140909
-
Chandler Carruth authored
This patch may do what it describes, it may not. It's hard to tell as its completely unclear what this is supposed to do. There are also no test cases. More importantly, this seems to have broken lots of linker invocations on multilib Linux systems. The manual pages for 'ld' on Linux mention translating a '=' at the beginning of the path into a *configure time* sysroot prefix (this is, I believe, distinct from the --sysroot flag which 'ld' also can support). I tested this with a normal binutils 'ld', a binutils 'ld' with the sysroot flag enabled, and gold with the sysroot flag enabled, and all of them try to open the path '=/lib/../lib32', No translation occurs. I think at the very least inserting an '=' needs to be conditioned on some indication that it is supported and desired. I'm also curious to see what toolchain and whan environment cause it to actually make a difference. I'm going to add a test case for basic sanity of Linux 'ld' invocations from Clang in a follow-up commit that would have caught this. llvm-svn: 140908
-
-
Michael J. Spencer authored
llvm-svn: 140906
-
Jakob Stoklund Olesen authored
All the sub-class bit vectors are computed when first creating the register bank. llvm-svn: 140905
-
Bill Wendling authored
llvm-svn: 140904
-
Bill Wendling authored
llvm-svn: 140903
-
Bill Wendling authored
and the alignment is 0 (i.e., it's defined globally in one file and declared in another file) it could get an alignment which is larger than the ABI allows for that type, resulting in aligned moves being used for unaligned loads. For instance, in file A.c: struct S s; In file B.c: struct { // something long }; extern S s; void foo() { struct S p = s; // ... } this copy is a 'memcpy' which is turned into a series of 'movaps' instructions on X86. But this is wrong, because 'struct S' has alignment of 4, not 16. llvm-svn: 140902
-
Jason Molenda authored
llvm-svn: 140901
-
Ted Kremenek authored
llvm-svn: 140900
-
Nick Lewycky authored
llvm-svn: 140899
-
Jakob Stoklund Olesen authored
This uses less memory and it reduces the complexity of sub-class operations: - hasSubClassEq() and friends become O(1) instead of O(N). - getCommonSubClass() becomes O(N) instead of O(N^2). In the future, TableGen will infer register classes. This makes it cheap to add them. llvm-svn: 140898
-
Jakob Stoklund Olesen authored
This one can also print 32-bit groups. llvm-svn: 140897
-
Jakob Stoklund Olesen authored
It will soon need the context. llvm-svn: 140896
-
Jakob Stoklund Olesen authored
Use these lists instead of computing them on the fly in RegisterInfoEmitter. llvm-svn: 140895
-
Argyrios Kyrtzidis authored
llvm-svn: 140894
-
Greg Clayton authored
llvm-svn: 140893
-
Jim Grosbach authored
llvm-svn: 140892
-
- Sep 30, 2011
-
-
Akira Hatanaka authored
Patch by Reed Kotler at Mips Technologies. llvm-svn: 140891
-
Johnny Chen authored
Add a keyword argument 'endstr' to TestBase.expect() method to assert that the output will end with 'endstr'. Add TestBase.switch_to_thread_with_stop_reason(stop_reason) to select the thread with the stop reason = 'stop_reason' as the current thread. o TestWatchLocation.py: Modified to switch to the stopped thread with stop reason = watchpoint and to evaluate an expression with expected output for stronger assertion. llvm-svn: 140890
-
Daniel Dunbar authored
llvm-svn: 140889
-
Douglas Gregor authored
statement to Clang. llvm-svn: 140888
-
Akira Hatanaka authored
Patch by Reed Kotler at Mips Technologies. llvm-svn: 140887
-
Akira Hatanaka authored
Patch by Reed Kotler at Mips Technologies. llvm-svn: 140886
-
Akira Hatanaka authored
Patch by Reed Kotler at Mips Technologies. llvm-svn: 140885
-
David Greene authored
Test of indexing lists of lists of lists works. This also exercises some operators. llvm-svn: 140884
-
David Greene authored
Add a TableGen test to check if indexing lists of lists works. llvm-svn: 140883
-
David Greene authored
Implement VarListElementInit:: resolveListElementReference so that lists of lists can be indexed. llvm-svn: 140882
-
Greg Clayton authored
Also reduce the size of the lldb_private::Symbol objects by removing the lldb_private::Function pointer that was in each symbol. Running Instruments has shown that when debugging large applications with DWARF in .o files that lldb_private::Symbol objects are one of the highest users of memory. No one was using the Symbol::GetFunction() call anyway. llvm-svn: 140881
-
Fariborz Jahanian authored
a reference type, since inner reference is much like an inner pointer. // rdar://10139365 llvm-svn: 140880
-
Benjamin Kramer authored
llvm-svn: 140879
-
Akira Hatanaka authored
Patch by Reed Kotler at Mips Technologies. llvm-svn: 140878
-
Benjamin Kramer authored
This time the warning found an actual bug, we don't want to handle force_align_arg_pointer differently than __force_align_arg_pointer__. llvm-svn: 140877
-
-
Jim Grosbach authored
llvm-svn: 140875
-
Andrew Trick authored
llvm-svn: 140874
-
Andrew Trick authored
llvm-svn: 140873
-
Akira Hatanaka authored
llvm-svn: 140872
-