- Oct 20, 2011
-
-
Duncan Sands authored
the last compiler built for the previous flavour is used for the next, for example the Debug clang compiler was being used for the initial build of the Release LLVM. Flavors should be independent of each other. This especially matters if the compiler built for the previous flavour doesn't actually work! llvm-svn: 142607
-
rdar://problem/10308201Ted Kremenek authored
Add test case for analyzer crash reported in <rdar://problem/10308201> (which is already fixed in mainline). llvm-svn: 142606
-
Lang Hames authored
AsmParser. This patch adds validation for target data layout strings upon construction of TargetData objects. An attempt to construct a TargetData object from a malformed string will trigger an assertion. llvm-svn: 142605
-
Chad Rosier authored
causing one of the unit tests to infinitely loop, which resulted in the buildbots stalling. llvm-svn: 142604
-
Johnny Chen authored
llvm-svn: 142603
-
Johnny Chen authored
llvm-svn: 142602
-
Johnny Chen authored
llvm-svn: 142601
-
Johnny Chen authored
Parameterize the iteration count used when running benchmarks, instead of hard-coded inside the test case. Add a '-y count' option to the test driver for this purpose. An example: $ ./dotest.py -v -y 25 +b -p TestDisassembly.py ... ---------------------------------------------------------------------- Collected 2 tests 1: test_run_gdb_then_lldb (TestDisassembly.DisassembleDriverMainLoop) Test disassembly on a large function with lldb vs. gdb. ... gdb benchmark: Avg: 0.226305 (Laps: 25, Total Elapsed Time: 5.657614) lldb benchmark: Avg: 0.113864 (Laps: 25, Total Elapsed Time: 2.846606) lldb_avg/gdb_avg: 0.503146 ok 2: test_run_lldb_then_gdb (TestDisassembly.DisassembleDriverMainLoop) Test disassembly on a large function with lldb vs. gdb. ... lldb benchmark: Avg: 0.113008 (Laps: 25, Total Elapsed Time: 2.825201) gdb benchmark: Avg: 0.225240 (Laps: 25, Total Elapsed Time: 5.631001) lldb_avg/gdb_avg: 0.501723 ok ---------------------------------------------------------------------- Ran 2 tests in 41.346s OK llvm-svn: 142598
-
Richard Smith authored
gcc's behaviour), and a -Wc++98-compat-pedantic warning for C++11. llvm-svn: 142597
-
Douglas Gregor authored
shadows a template parameter. Complain about the shadowing (or not, under -fms-extensions), but don't invalidate the declaration. Merely forget about the template parameter declaration. llvm-svn: 142596
-
Johnny Chen authored
llvm-svn: 142595
-
Johnny Chen authored
llvm-svn: 142594
-
Devang Patel authored
llvm-svn: 142593
-
Devang Patel authored
llvm-svn: 142592
-
Jim Grosbach authored
llvm-svn: 142591
-
Argyrios Kyrtzidis authored
llvm-svn: 142590
-
Douglas Gregor authored
*wrong* class scope. This is one of the problems behind <rdar://problem/9676205>. llvm-svn: 142588
-
Douglas Gregor authored
actually just has an extraneous 'template<>' header, strip off the 'template<>' header and treat it as a normal friend tag. Fixes PR10660 / <rdar://problem/9958322>. llvm-svn: 142587
-
Jim Grosbach authored
llvm-svn: 142583
-
Jim Grosbach authored
llvm-svn: 142582
-
Jim Grosbach authored
llvm-svn: 142581
-
Nadav Rotem authored
llvm-svn: 142579
-
Howard Hinnant authored
llvm-svn: 142578
-
Duncan Sands authored
In fact this commit is not intended to change anything unless you use one of the new command line flags. llvm-svn: 142577
-
Duncan Sands authored
compiler warnings. llvm-svn: 142574
-
Duncan Sands authored
llvm-svn: 142573
-
Eli Friedman authored
Refactor code from inlining and globalopt that checks whether a function definition is unused, and enhance it so it can tell that functions which are only used by a blockaddress are in fact dead. This probably doesn't happen much on most code, but the Linux kernel's _THIS_IP_ can trigger this issue with blockaddress. (GlobalDCE can also handle the given tescase, but we only run that at -O3.) Found while looking at PR11180. llvm-svn: 142572
-
-
Eli Friedman authored
llvm-svn: 142570
-
Eli Friedman authored
llvm-svn: 142569
-
Richard Smith authored
llvm-svn: 142568
-
Eli Friedman authored
llvm-svn: 142567
-
David Blaikie authored
llvm-svn: 142566
-
David Blaikie authored
llvm-svn: 142565
-
David Blaikie authored
Fix all 80 col violations in include/clang/Basic, plus any trailing whitespace in the files I'm touching anyway. llvm-svn: 142564
-
Richard Smith authored
where the test didn't work. llvm-svn: 142563
-
Johnny Chen authored
bring the debugger to the desired state. This patch makes BenchBase inherit from TestBase, instead of Base (which is a parent class of TestBase). This is so that we can also enjoy the Pythonic way of bringing the lldb debugger to a desired state before running the benchmark and collect statistics. llvm-svn: 142562
-
Greg Clayton authored
std::string and modified all places that used the std::string it returned to use the "const char *". Also modified the expression parser to not crash when a function type fails to copy into the expression AST context. llvm-svn: 142561
-
Bill Wendling authored
llvm-svn: 142559
-
Nick Lewycky authored
correctly in GetStringLength, fixing PR11181! llvm-svn: 142558
-