- Jan 02, 2012
-
-
Chandler Carruth authored
is testing the bitcode reader's functionality, not VMCore's. Add the what is a hope sufficient build system mojo to build and run a new unittest. Also clean up some of the test's naming. The goal for the file should be to unittest the Bitcode Reader, and this is just one particular test among potentially many in the future. Also, reverse my position and relegate the PR# to a comment, but stash the comment on the same line as the test name so it doesn't get lost. This makes the code more self-documenting hopefully w/o losing track of the PR number. llvm-svn: 147431
-
Chandler Carruth authored
build. This didn't show up in the CMake build because the CMake build for the unittests is rather poorly factored. This probably isn't the correct fix. This should be a bitcode reader unittest not a VMCore unittest. I'll move it and clean various parts of the unittest up in a follow-up patch, but I wanted to unbreak the bots. llvm-svn: 147427
-
Rafael Espindola authored
PR11677. llvm-svn: 147425
-
- Dec 22, 2011
-
-
Eli Friedman authored
llvm-svn: 147186
-
- Dec 21, 2011
-
-
Manuel Klimek authored
Diagnostics are now emitted via the SourceMgr and we use MemoryBuffer for buffer management. Switched the code to make use of the trailing '0' that MemoryBuffer guarantees where it makes sense. llvm-svn: 147063
-
- Dec 20, 2011
-
-
- Dec 17, 2011
-
-
Chandler Carruth authored
make VariadicFunction actually be trivial. Do so, and also make it look more like your standard trivial functor by making it a struct with no access specifiers. The unit test is updated to initialize its functors properly. llvm-svn: 146827
-
- Dec 16, 2011
-
-
Dylan Noblesmith authored
Hexatridecimal was added in r139695. And fix the unittest that now triggers the assert. llvm-svn: 146754
-
Manuel Klimek authored
llvm-svn: 146735
-
Chandler Carruth authored
bit of style, sorry. llvm-svn: 146733
-
Chandler Carruth authored
variadic-like functions in C++98. See the comments in the header file for a more detailed description of how these work. We plan to use these extensively in the AST matching library. This code and idea were originally authored by Zhanyong Wan. I've condensed it using macros to reduce repeatition and adjusted it to fit better with LLVM's ADT. Thanks to both David Blaikie and Doug Gregor for the review! llvm-svn: 146729
-
NAKAMURA Takumi authored
llvm-svn: 146725
-
Daniel Dunbar authored
library names in line with those used by CMake. - Patch by Johannes Obermayr, with tweaks by me. llvm-svn: 146706
-
- Dec 12, 2011
-
-
Chad Rosier authored
Original commit message: Support/FileSystem: Implement canonicalize. llvm-svn: 146378
-
Michael J. Spencer authored
llvm-svn: 146364
-
Michael J. Spencer authored
llvm-svn: 146363
-
Dylan Noblesmith authored
Accidentally left out since r145214/r145217. llvm-svn: 146356
-
- Dec 10, 2011
-
-
NAKAMURA Takumi authored
FIXME: It should be more robust. llvm-svn: 146294
-
- Dec 09, 2011
-
-
Michael J. Spencer authored
dontlookhere check must be after it. llvm-svn: 146217
-
Michael J. Spencer authored
I have run these tests under many configurations on the exact same OS as the failures, and I can't reproduce them :(. llvm-svn: 146214
-
- Dec 08, 2011
-
-
Michael J. Spencer authored
directory_iterator preserve InputIterator semantics on copy. llvm-svn: 146200
-
- Dec 05, 2011
-
-
Nadav Rotem authored
Add support for vectors of pointers. llvm-svn: 145801
-
- Dec 02, 2011
-
-
Dylan Noblesmith authored
Makes failures more self-explanatory. llvm-svn: 145704
-
- Nov 26, 2011
-
-
Eli Friedman authored
was returning incorrect values in rare cases, and incorrectly marking exact conversions as inexact in some more common cases. Fixes PR11406, and a missed optimization in test/CodeGen/X86/fp-stack-O0.ll. llvm-svn: 145141
-
- Nov 14, 2011
-
-
Nick Lewycky authored
available. llvm-svn: 144574
-
Nick Lewycky authored
These annotations are disabled entirely when either ENABLE_THREADS is off, or building a release build. When enabled, they add calls to functions with no statements to ManagedStatic's getters. Use these annotations to inform tsan that the race used inside ManagedStatic initialization is actually benign. Thanks to Kostya Serebryany for helping write this patch! llvm-svn: 144567
-
- Nov 09, 2011
-
-
NAKAMURA Takumi authored
getPointerToNamedFunction might be indirect jump on Win32 --enable-shared. FF 25 <disp32>: jmp *(pointer to IAT) llvm-svn: 144178
-
- Oct 24, 2011
-
-
Benjamin Kramer authored
Add a test case for the edge case that triggers this. Thanks to Chandler for bringing this to my attention. llvm-svn: 142794
-
- Oct 23, 2011
-
-
Benjamin Kramer authored
llvm-svn: 142751
-
- Oct 16, 2011
-
-
Chris Lattner authored
the X86 asmparser to produce ranges in the one case that was annoying me, for example: test.s:10:15: error: invalid operand for instruction movl 0(%rax), 0(%edx) ^~~~~~~ It should be straight-forward to enhance filecheck, tblgen, and/or the .ll parser to use ranges where appropriate if someone is interested. llvm-svn: 142106
-
- Oct 15, 2011
-
-
Benjamin Kramer authored
Based on Horspool's simplified version of Boyer-Moore. We use a constant-sized table of uint8_ts to keep cache thrashing low, needles bigger than 255 bytes are uncommon anyways. The worst case is still O(n*m) but we do a lot better on the average case now. llvm-svn: 142061
-
- Oct 13, 2011
-
-
Eli Friedman authored
llvm-svn: 141831
-
- Oct 12, 2011
-
-
Eli Friedman authored
Fix APFloat::getLargest so that it actually returns the correct value. Found by accident while reviewing a patch to nearby code. llvm-svn: 141816
-
- Oct 08, 2011
-
-
Eli Friedman authored
Fix APInt::operator*= so that it computes the correct result for large integers where there is unsigned overflow. Fix APFloat::toString so that it doesn't depend on the incorrect behavior in common cases (and computes the correct result in some rare cases). Fixes PR11086. llvm-svn: 141441
-
- Oct 04, 2011
-
-
Nick Lewycky authored
llvm-svn: 141066
-
- Sep 30, 2011
-
-
Jakob Stoklund Olesen authored
Thanks to Alexandru Dura and Jonas Paulsson for finding it. llvm-svn: 140859
-
- Sep 28, 2011
-
-
Eli Friedman authored
NULL cannot be portably used as the last argument to a function with __attribute((sentinel)), even though it usually works. Use (void*)0 instead. PR11002. llvm-svn: 140720
-
- Sep 14, 2011
-
-
Douglas Gregor authored
llvm-svn: 139695
-
NAKAMURA Takumi authored
It seems i686-cygwin-gcc-4.3 does not accept 64-bit constant without LL. llvm-svn: 139664
-
- Sep 13, 2011
-
-
Benjamin Kramer authored
It is an endian-aware helper that can read data from a StringRef. It will come in handy for DWARF parsing. This class is inspired by LLDB's DataExtractor, but is stripped down to the bare minimum needed for DWARF. Comes with unit tests! llvm-svn: 139626
-