- Aug 26, 2011
-
-
Eli Friedman authored
I don't really like the patterns, but I'm having trouble coming up with a better way to handle them. I plan on making other targets use the same legalization ARM-without-memory-barriers is using... it's not especially efficient, but if anyone cares, it's not that hard to fix for a given target if there's some better lowering. llvm-svn: 138621
-
Greg Clayton authored
to a file. llvm-svn: 138620
-
Benjamin Kramer authored
- Reword comments. - Allow undefined behavior interfering with undefined behavior. - Add address space checks. llvm-svn: 138619
-
Benjamin Kramer authored
SimplifyCFG: If we have a PHI node that can evaluate to NULL and do a load or store to the address returned by the PHI node then we can consider this incoming value as dead and remove the edge pointing there, unless there are instructions that can affect control flow executed in between. In theory this could be extended to other instructions, eg. division by zero, but it's likely that it will "miscompile" some code because people depend on div by zero not trapping. NULL pointer dereference usually leads to a crash so we should be on the safe side. This shrinks the size of a Release clang by 16k on x86_64. llvm-svn: 138618
-
Chad Rosier authored
llvm-svn: 138617
-
John McCall authored
bridged cast. Noticed by AST inspection by Ted Kremenek! llvm-svn: 138616
-
John McCall authored
llvm-svn: 138615
-
Chad Rosier authored
llvm-svn: 138614
-
Jeffrey Yasskin authored
Also convert stack-addr-ps.cpp to use the analyzer instead of just Sema, now that it doesn't crash, and extract the stack-block test into another file since it errors, and that prevents the analyzer from running. llvm-svn: 138613
-
Chad Rosier authored
globals during codegen. Fixes <rdar://problem/10017909>. llvm-svn: 138612
-
Francois Pichet authored
llvm-svn: 138611
-
Francois Pichet authored
llvm-svn: 138610
-
Jordy Rose authored
llvm-svn: 138609
-
Johnny Chen authored
built locally from the source tree. This is distinguished from self.lldbExec, which can be used by test/benchmarks to measure the performances against other debuggers. You can use environment variable LLDB_EXEC to specify self.lldbExec to the dotest.py test driver, otherwise it is going to be populated with self.lldbHere. Modify the regular tests under test dir, i.e., not test/benchmarks, to use self.lldbHere. Also modify the benchmarks tests to use self.lldbHere when it needs an 'lldb' executable with debug info to do the performance measurements. llvm-svn: 138608
-
Ivan Krasin authored
llvm-svn: 138607
-
Bill Wendling authored
llvm-svn: 138606
-
Bill Wendling authored
scheme, return 'true' so that it doesn't try to run the old EH scheme's fixup on the new code. llvm-svn: 138605
-
Bill Wendling authored
This upgrade suffers from the problems of the old EH scheme - i.e., that the calls to llvm.eh.exception() and llvm.eh.selector() can wander off and get lost. It makes a valiant effort to reclaim these little lost lambs. This is a first draft, so it hasn't yet been hooked up to the parser. llvm-svn: 138602
-
Matt Beaumont-Gay authored
Much to everyone's surprise, the default constructor for TypeResult produces an instance with Invalid == false. This seems like a decision we may want to revisit. llvm-svn: 138601
-
Jim Ingham authored
Add logging to SymbolFileDWARF::ParseType so that we can tell the type/comp_unit/obj_file were being processed when something goes wrong... llvm-svn: 138600
-
John McCall authored
emit call results into potentially aliased slots. This allows us to properly mark indirect return slots as noalias, at the cost of requiring an extra memcpy when assigning an aggregate call result into a l-value. It also brings us into compliance with the x86-64 ABI. llvm-svn: 138599
-
Fariborz Jahanian authored
declated method in the class belongs to a synthesized property getter/setter. // rdar://10014946 llvm-svn: 138598
-
Douglas Gregor authored
Eliminate the -chained-pch flag and all of the frontend and libclang options associated with it. Chained PCH is the only way to build a PCH file that includes another PCH file llvm-svn: 138597
-
Douglas Gregor authored
llvm-svn: 138596
-
Douglas Gregor authored
from the given source. -emit-module behaves similarly to -emit-pch, except that Sema is somewhat more strict about the contents of -emit-module. In the future, there are likely to be more interesting differences. llvm-svn: 138595
-
Fariborz Jahanian authored
changes. // rdar://10015110 llvm-svn: 138594
-
Argyrios Kyrtzidis authored
of a type specifier. e.g. for: typedef struct _MyS { int foo; } MyS; pointing at field 'foo' would give a cursor for the typedef declaration 'MyS' instead of the field. llvm-svn: 138593
-
Bruno Cardoso Lopes authored
llvm-svn: 138592
-
- Aug 25, 2011
-
-
Johnny Chen authored
m_selected_tid thread first, check to see if it is valid (might be null if the thread just exited), and if not select/return the 0th thread instead. llvm-svn: 138591
-
Johnny Chen authored
Modify the loggings output oracle to fix test suite failure, after the recent change to CommandInterpreter.cpp. llvm-svn: 138590
-
Nick Lewycky authored
llvm-svn: 138589
-
Bruno Cardoso Lopes authored
llvm-svn: 138588
-
Bruno Cardoso Lopes authored
llvm-svn: 138587
-
Douglas Gregor authored
a top-level module. This code is still horrible and should go away, but we're not there yet. llvm-svn: 138586
-
Douglas Gregor authored
AST file, rather than waiting until we finish loading the top-level AST file. llvm-svn: 138585
-
Fariborz Jahanian authored
llvm-svn: 138584
-
Douglas Gregor authored
to "when loading a particular module" validation, since it was only validating local information anyway. This shouldn't change anything. llvm-svn: 138583
-
Douglas Gregor authored
and .cpp files, since ASTReader.cpp was getting way too large. No functionality change. llvm-svn: 138582
-
John McCall authored
creators to tell us whether something needs GC barriers. No functionality change. llvm-svn: 138581
-
Argyrios Kyrtzidis authored
out-of-sync how a file is compiled. Patch by Matthias Kleine! llvm-svn: 138580
-