- Sep 10, 2010
-
-
Bill Wendling authored
iterator when an optimization took place. This allows us to do more insane things with the code than just remove an instruction or two. llvm-svn: 113640
-
Daniel Dunbar authored
currently expect that to be useful for plugins, and this is important for startup performance: -- ddunbar@lordcrumb:tmp$ touch empty.c ddunbar@lordcrumb:tmp$ runN 100 ~/llvm.obj.64/Release/bin/clang -c empty.c name avg min med max SD total user 0.0054 0.0052 0.0054 0.0055 0.0000 0.5350 sys 0.0084 0.0090 0.0078 0.0087 0.0008 0.8390 wall 0.0149 0.0149 0.0149 0.0149 0.0003 1.4943 ddunbar@lordcrumb:tmp$ runN 100 ~/llvm.obj.64/Release/bin/clang -c empty.c name avg min med max SD total user 0.0036 0.0036 0.0036 0.0038 0.0000 0.3646 sys 0.0072 0.0071 0.0068 0.0070 0.0006 0.7158 wall 0.0123 0.0123 0.0122 0.0136 0.0003 1.2262 -- llvm-svn: 113638
-
-
Sebastian Redl authored
llvm-svn: 113634
-
Michael J. Spencer authored
llvm-svn: 113632
-
Michael J. Spencer authored
of whatever we were using before... llvm-svn: 113631
-
Sebastian Redl authored
llvm-svn: 113630
-
Sebastian Redl authored
llvm-svn: 113629
-
Sebastian Redl authored
llvm-svn: 113628
-
Sebastian Redl authored
llvm-svn: 113627
-
Ted Kremenek authored
Make 'setProperty()', 'setBase()', and 'setLocation()' private in ObjCPropertyRefExpr, and friend ASTStmtReader so that it is the only class that can use them. llvm-svn: 113626
-
Sebastian Redl authored
llvm-svn: 113625
-
Sebastian Redl authored
llvm-svn: 113624
-
Sebastian Redl authored
llvm-svn: 113623
-
Sebastian Redl authored
llvm-svn: 113622
-
Sebastian Redl authored
llvm-svn: 113621
-
Sebastian Redl authored
llvm-svn: 113620
-
Sebastian Redl authored
llvm-svn: 113619
-
Dale Johannesen authored
(The Ada bindings probably need it too, but all the obvious places to change say "do not edit this file".) llvm-svn: 113618
-
-
Bill Wendling authored
string. llvm-svn: 113615
-
Devang Patel authored
llvm-svn: 113614
-
Ted Kremenek authored
Polish diagnostics for null dereferences via ObjC ivar accesses. Finishes up <rdar://problem/6352035>. llvm-svn: 113612
-
Greg Clayton authored
There was a check to make sure that the frame had a valid function before the expression parser would allow decl lookups which was not needed. After removing this you can evaluate expressions correctly when stopped in a frame that only has a symbol or has no symbol context at all. llvm-svn: 113611
-
Bill Wendling authored
llvm-svn: 113610
-
Johnny Chen authored
pointed out by Jim Ingham. The convenient one-liner specification should only apply when there is only one breakpoint id being specified for the time being. llvm-svn: 113609
-
Benjamin Kramer authored
llvm-svn: 113608
-
Johnny Chen authored
llvm-svn: 113607
-
Bill Wendling authored
understand (the log file was no help). llvm-svn: 113605
-
Bill Wendling authored
llvm-svn: 113603
-
Fariborz Jahanian authored
reference object to a c++ member function. fixes radar 8409336. llvm-svn: 113602
-
Bill Wendling authored
"llvm.eh.catch.all.value". Only the name needs to be changed. llvm-svn: 113600
-
Greg Clayton authored
up a seciton offset address (SBAddress) within a module that returns a symbol context (SBSymbolContext). Also added a SBSymbolContextList in preparation for adding find/lookup APIs that can return multiple results. Added a lookup example code that shows how to do address lookups. llvm-svn: 113599
-
Johnny Chen authored
llvm-svn: 113598
-
Bob Wilson authored
fixed operands from the total number of operands (including the variadic ones). llvm-svn: 113597
-
Johnny Chen authored
command for a breakpoint, for example: (lldb) breakpoint command add -p 1 "conditional_break.stop_if_called_from_a()" The ScriptInterpreter interface has an extra method: /// Set a one-liner as the callback for the breakpoint command. virtual void SetBreakpointCommandCallback (CommandInterpreter &interpreter, BreakpointOptions *bp_options, const char *oneliner); to accomplish the above. Also added a test case to demonstrate lldb's use of breakpoint callback command to stop at function c() only when its immediate caller is function a(). The following session shows the user entering the following commands: 1) command source .lldb (set up executable, breakpoint, and breakpoint command) 2) run (the callback mechanism will skip two breakpoints where c()'s immeidate caller is not a()) 3) bt (to see that indeed c()'s immediate caller is a()) 4) c (to continue and finish the program) test/conditional_break $ ../../build/Debug/lldb (lldb) command source .lldb Executing commands in '.lldb'. (lldb) file a.out Current executable set to 'a.out' (x86_64). (lldb) breakpoint set -n c Breakpoint created: 1: name = 'c', locations = 1 (lldb) script import sys, os (lldb) script sys.path.append(os.path.join(os.getcwd(), os.pardir)) (lldb) script import conditional_break (lldb) breakpoint command add -p 1 "conditional_break.stop_if_called_from_a()" (lldb) run run Launching '/Volumes/data/lldb/svn/trunk/test/conditional_break/a.out' (x86_64) (lldb) Checking call frames... Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`a at main.c:25 frame #3: a.out`main at main.c:44 frame #4: a.out`start c called from b Continuing... Checking call frames... Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`b at main.c:34 frame #2: a.out`main at main.c:47 frame #3: a.out`start c called from b Continuing... Checking call frames... Stack trace for thread id=0x2e03 name=None queue=com.apple.main-thread: frame #0: a.out`c at main.c:39 frame #1: a.out`a at main.c:27 frame #2: a.out`main at main.c:50 frame #3: a.out`start c called from a Stopped at c() with immediate caller as a(). a(1) returns 4 b(2) returns 5 Process 20420 Stopped * thread #1: tid = 0x2e03, 0x0000000100000de8 a.out`c + 7 at main.c:39, stop reason = breakpoint 1.1, queue = com.apple.main-thread 36 37 int c(int val) 38 { 39 -> return val + 3; 40 } 41 42 int main (int argc, char const *argv[]) (lldb) bt bt thread #1: tid = 0x2e03, stop reason = breakpoint 1.1, queue = com.apple.main-thread frame #0: 0x0000000100000de8 a.out`c + 7 at main.c:39 frame #1: 0x0000000100000dbc a.out`a + 44 at main.c:27 frame #2: 0x0000000100000e4b a.out`main + 91 at main.c:50 frame #3: 0x0000000100000d88 a.out`start + 52 (lldb) c c Resuming process 20420 Process 20420 Exited a(3) returns 6 (lldb) llvm-svn: 113596
-
Owen Anderson authored
Lower the unrolling theshold to 150. Empirical tests indicate that this is a sweet spot in the performance per code size increase curve. llvm-svn: 113595
-
Dale Johannesen authored
llvm-svn: 113594
-
Jim Grosbach authored
reserved regs and that register allocators need to explicitly check for them. llvm-svn: 113593
-
Howard Hinnant authored
I am experimenting with putting visibility-default attributes on all struct/classes in libc++. This checkin decorates only basic_string and vector as an experiment, and for review by those in this audience that might know more about visibilty than I do. If I get no negative feedback on this procedure I will begin to decorate the entire library in this way. llvm-svn: 113590
-