- Nov 30, 2012
-
-
Chandler Carruth authored
Rationale: 1) This was the name in the comment block. ;] 2) It matches Clang's __has_feature naming convention. 3) It matches other compiler-feature-test conventions. Sorry for the noise. =] I've also switch the comment block to use a \brief tag and not duplicate the name. llvm-svn: 168996
-
- Nov 28, 2012
-
-
Eli Bendersky authored
appropriate unit tests. This change in itself is not expected to affect any functionality at this point, but it will serve as a stepping stone to improve FileCheck's variable matching capabilities. Luckily, our regex implementation already supports backreferences, although a bit of hacking is required to enable it. It supports both Basic Regular Expressions (BREs) and Extended Regular Expressions (EREs), without supporting backrefs for EREs, following POSIX strictly in this respect. And EREs is what we actually use (rightly). This is contrary to many implementations (including the default on Linux) of POSIX regexes, that do allow backrefs in EREs. Adding backref support to our EREs is a very simple change in the regcomp parsing code. I fail to think of significant cases where it would clash with existing things, and can bring more versatility to the regexes we write. There's always the danger of a backref in a specially crafted regex causing exponential matching times, but since we mainly use them for testing purposes I don't think it's a big problem. [it can also be placed behind a flag specific to FileCheck, if needed]. For more details, see: * http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-November/055840.html * http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20121126/156878.html llvm-svn: 168802
-
- Nov 20, 2012
-
-
Sean Silva authored
The rationale is to get YAML filenames in diagnostics from yaml::Stream::printError -- currently the filename is hard-coded as "YAML" because there's no buffer information available. Patch by Kim Gräsman! llvm-svn: 168341
-
- Nov 16, 2012
-
-
Chris Lattner authored
llvm-svn: 168182
-
- Nov 15, 2012
-
-
Daniel Dunbar authored
- The code could infinite loop trying to create unique files, if the directory containing the unique file exists, but open() calls on non-existent files in the path return ENOENT. This is true on the /dev/fd filesystem, for example. - Will add a clang side test case for this. llvm-svn: 168081
-
Guy Benyei authored
The new OpenCL SPIR extension spec will define separate SPIR for 32 and 64 bit architectures. llvm-svn: 168036
-
- Nov 14, 2012
-
-
Eric Christopher authored
Approved by Chris Lattner. llvm-svn: 167984
-
- Nov 13, 2012
-
-
Chad Rosier authored
llvm-svn: 167849
-
- Nov 12, 2012
-
-
Chad Rosier authored
llvm-svn: 167755
-
- Nov 08, 2012
-
-
Benjamin Kramer authored
This is safe for x87 long doubles and ppc double doubles too. llvm-svn: 167582
-
- Nov 06, 2012
-
-
Daniel Dunbar authored
llvm-svn: 167467
-
- Nov 05, 2012
-
-
Daniel Dunbar authored
- We only support this when the client didn't claim to know the file size. llvm-svn: 167407
-
- Nov 02, 2012
-
-
Rafael Espindola authored
Patch by Kai. llvm-svn: 167309
-
- Nov 01, 2012
-
-
Michael J. Spencer authored
llvm-svn: 167191
-
- Oct 31, 2012
-
-
Rafael Espindola authored
llvm-svn: 167157
-
James Molloy authored
No testcase, as this is only testable on a C-A15 board. llvm-svn: 167108
-
- Oct 29, 2012
-
-
Ulrich Weigand authored
llvm-svn: 166954
-
Ulrich Weigand authored
llvm-svn: 166952
-
Ulrich Weigand authored
treating it as if it were an IEEE floating-point type with 106-bit mantissa. This makes compile-time arithmetic on "long double" for PowerPC in clang (in particular parsing of floating point constants) work, and fixes all "long double" related failures in the test suite. llvm-svn: 166951
-
- Oct 26, 2012
-
-
Joerg Sonnenberger authored
llvm-svn: 166772
-
- Oct 17, 2012
-
-
Daniel Dunbar authored
- Similar to Path::eraseFromDisk(), we don't want LLVM to remove things like /dev/null, even if it has the permission. llvm-svn: 166105
-
- Oct 12, 2012
-
-
Duncan Sands authored
llvm-svn: 165792
-
- Oct 10, 2012
-
-
Sean Silva authored
... Apparently the RTTI is still necessary for some reason. llvm-svn: 165654
-
Sean Silva authored
llvm-svn: 165652
-
- Oct 09, 2012
-
-
Rafael Espindola authored
the test. llvm-svn: 165535
-
- Oct 02, 2012
-
-
Nick Kledzik authored
llvm-svn: 165038
-
Andrew Kaylor authored
This adds 'elf' as a recognized target triple environment value and overrides the default generated object format on Windows platforms if that value is present. This patch also enables MCJIT tests on Windows using the new environment value. llvm-svn: 165030
-
- Oct 01, 2012
-
-
Micah Villmow authored
llvm-svn: 164948
-
- Sep 28, 2012
-
-
Dmitri Gribenko authored
Patch by Martinez, Javier E. llvm-svn: 164822
-
Benjamin Kramer authored
llvm-svn: 164817
-
- Sep 27, 2012
-
-
Sylvestre Ledru authored
Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 llvm-svn: 164768
-
Sylvestre Ledru authored
llvm-svn: 164767
-
- Sep 26, 2012
-
-
Benjamin Kramer authored
llvm-svn: 164714
-
Benjamin Kramer authored
Fixes PR12632. llvm-svn: 164701
-
Benjamin Kramer authored
APFloat::roundToIntegral: Special values don't keep the exponent value up to date, don't rely on it. Add a couple of unit tests for special floats. Fixes 13929, found by MemorySanitizer. llvm-svn: 164698
-
Sylvestre Ledru authored
For example, under a Linux chroot, /proc/ might not be mounted. Therefor, we test if this file exist. If it is the case, use it (the current behavior). Otherwise, we fall back to the detection used by *BSD. The issue has been reported initially on the Debian bug tracker: http://bugs.debian.org/674588 llvm-svn: 164676
-
- Sep 25, 2012
-
-
Nico Weber authored
llvm-svn: 164587
-
- Sep 23, 2012
-
-
Craig Topper authored
llvm-svn: 164471
-
- Sep 22, 2012
-
-
Eric Christopher authored
whether or not we want to print out backtrace information. Useful for libraries that don't need backtrace information on a crash. rdar://11844710 llvm-svn: 164426
-
- Sep 19, 2012
-
-
Andrew Kaylor authored
This patch adds memory support functions which will later be used to implement section-specific protection handling in MCJIT. llvm-svn: 164249
-