- Mar 03, 2011
-
-
Douglas Gregor authored
1) When we do an instantiation of the injected-class-name type, provide a proper source location. This is just plain good hygiene. 2) When we're building a NestedNameSpecifierLoc from a CXXScopeSpec, only return an empty NestedNameSpecifierLoc if there's no representation. Both problems contributed to the horrible test case in PR9390 that I couldn't reduce down to something palatable. llvm-svn: 126961
-
Devang Patel authored
This fixes few blocks.exp regressions. llvm-svn: 126960
-
Devang Patel authored
Add comment. llvm-svn: 126959
-
Devang Patel authored
llvm::Function argument count is not a good indicator of how many arugments does the function have at source level. If we need more space, just resize vector conservatively. This vector is only used once per function. llvm-svn: 126957
-
Jim Grosbach authored
be next to the frame pointer or the stack pointer. llvm-svn: 126956
-
Johnny Chen authored
among other things: // When stopped on breakppint 1, we can get the line entry using SBFrame API // SBFrame.GetLineEntry(). We'll get the start address for the the line entry // with the SBAddress type, resolve the symbol context using the SBTarget API // SBTarget.ResolveSymbolContextForAddress() in order to get the SBSymbol. // // We then stop at breakpoint 2, get the SBFrame, and the the SBFunction object. // // The address from calling GetStartAddress() on the symbol and the function // should point to the same address, and we also verify that. And add one utility function disassemble(target, function_or_symbol) to lldbutil.py: """Disassemble the function or symbol given a target. It returns the disassembly content in a string object. """ TestDisasm.py uses the disassemble() function to do disassembly on the SBSymbol, and then the SBFunction object. llvm-svn: 126955
-
Caroline Tice authored
Add code to emulate UXTH Arm instruction. llvm-svn: 126954
-
Caroline Tice authored
Add code to emulate UXTB Arm instruction. llvm-svn: 126953
-
Abramo Bagnara authored
llvm-svn: 126952
-
Caroline Tice authored
Add code to emulate SXTH Arm instruction. llvm-svn: 126951
-
-
Caroline Tice authored
Add code to emulate SXTB Arm instruction. llvm-svn: 126949
-
Douglas Gregor authored
llvm-svn: 126948
-
Ted Kremenek authored
llvm-svn: 126947
-
Douglas Gregor authored
TemplateSpecializationTypes, which also fixes PR9388. llvm-svn: 126946
-
Abramo Bagnara authored
llvm-svn: 126945
-
Abramo Bagnara authored
llvm-svn: 126943
-
Jan Sjödin authored
Split MCEELFStreamer and ELFObjectWriter into .h and .cpp files, so that other components can use them. llvm-svn: 126942
-
Richard Osborne authored
llvm-svn: 126941
-
Richard Osborne authored
and siprintf is available on the target. llvm-svn: 126940
-
Abramo Bagnara authored
llvm-svn: 126939
-
Justin Holewinski authored
llvm-svn: 126938
-
Richard Osborne authored
and siprintf is available on the target. llvm-svn: 126937
-
Justin Holewinski authored
llvm-svn: 126936
-
Richard Osborne authored
and iprintf is available on the target. Currently iprintf is only marked as being available on the XCore. llvm-svn: 126935
-
Tilmann Scheller authored
llvm-svn: 126934
-
Eli Friedman authored
for calls to weak symbols with a definition has the appearance of working with LLVM-generated code because weak symbol definitions are put in their own sections. llvm-svn: 126933
-
Bob Wilson authored
llvm-svn: 126931
-
Bob Wilson authored
llvm-svn: 126930
-
Jakob Stoklund Olesen authored
There are probably much larger speedups to be had by renumbering locally instead of looping over the whole function. For now, the greedy register allocator is 25% faster. llvm-svn: 126926
-
Jakob Stoklund Olesen authored
This is much faster than using a pointer to a ManagedStatic object accessed with a function call. The greedy register allocator is 5% faster overall just from the SlotIndex default constructor savings. llvm-svn: 126925
-
Jakob Stoklund Olesen authored
The SlotIndex created by the default construction does not represent a position in the function, and it doesn't make sense to compare it to other indexes. llvm-svn: 126924
-
Jakob Stoklund Olesen authored
IndexListEntries have unique indexes, so it is not necessary to dereference pointers to them. llvm-svn: 126923
-
Jakob Stoklund Olesen authored
llvm-svn: 126922
-
Jakob Stoklund Olesen authored
This speeds up the greedy register allocator by 15%. DenseMap is not as fast as one might hope. llvm-svn: 126921
-
Douglas Gregor authored
parameter, save the instantiated default template arguments along with the explicitly-specified template argument list. That way, we prefer the default template template arguments corresponding to the template template parameter rather than those of its template template argument. This addresses the likely direction of C++ core issue 150, and fixes PR9353/<rdar://problem/9069136>, bringing us closer to the behavior of EDG and GCC. llvm-svn: 126920
-
Douglas Gregor authored
llvm-svn: 126919
-
Bill Wendling authored
llvm-svn: 126918
-
http://llvm.org/bugs/show_bug.cgi?id=9349Howard Hinnant authored
http://llvm.org/bugs/show_bug.cgi?id=9349 I introduced a bug with the last fix and Ryuta Suzuki has corrected it. And hopefully I committed Ryuta Suzuki's directions correctly this time. llvm-svn: 126917
-
Johnny Chen authored
// When stopped on breakppint 1, and then 2, we can get the line entries using // SBFrame API SBFrame.GetLineEntry(). We'll get the start addresses for the // two line entries; with the start address (of SBAddress type), we can then // resolve the symbol context using the SBTarget API // SBTarget.ResolveSymbolContextForAddress(). // // The two symbol context should point to the same symbol, i.e., 'a' function. Add two utility functions to lldbutil.py: o get_stopped_threads(process, reason): return the list of threads with the specified stop reason or an empty list if not found o get_stopped_thread(process, reason): return the first thread with the given stop reason or None if not found llvm-svn: 126916
-