- Sep 30, 2013
-
-
Matt Arsenault authored
Currently it will insert an illegal bitcast. Arguably, the address space argument should be added for the creation case. llvm-svn: 191702
-
Benjamin Kramer authored
Inspired by the object from the SLPVectorizer. This found a minor bug in the debug loc restoration in the vectorizer where the location of a following instruction was attached instead of the location from the original instruction. llvm-svn: 191673
-
- Sep 29, 2013
-
-
Benjamin Kramer authored
llvm-svn: 191638
-
- Sep 27, 2013
-
-
Dmitri Gribenko authored
range that includes a tab character will cause out-of-bounds access to the fixit string. llvm-svn: 191563
-
Dmitri Gribenko authored
llvm-svn: 191558
-
- Sep 20, 2013
-
-
Tareq A. Siraj authored
--gtest_filter was filtering an invalid name for the test. Differential Revision: http://llvm-reviews.chandlerc.com/D1733 llvm-svn: 191100
-
- Sep 11, 2013
-
-
Rui Ueyama authored
llvm-svn: 190485
-
Hans Wennborg authored
It was turning the buildbots red. llvm-svn: 190480
-
Rui Ueyama authored
llvm-svn: 190472
-
Rui Ueyama authored
YAMLIO printed a string as is without quotes unless it contains a newline character. That did not suffice. We also need to quote a string if it starts with a backquote, quote, double quote or atsign, or it's the empty string. llvm-svn: 190469
-
- Sep 10, 2013
-
-
Rui Ueyama authored
llvm-svn: 190438
-
Rui Ueyama authored
On Windows, character encoding of multibyte environment variable varies depending on settings. The only reliable way to handle it I think is to use GetEnvironmentVariableW(). GetEnvironmentVariableW() works on wchar_t string, which is on Windows UTF16 string. That's not ideal because we use UTF-8 as the internal encoding in LLVM. This patch defines a wrapper function which takes and returns UTF-8 string for GetEnvironmentVariableW(). The wrapper function does not do any conversion and just forwards the argument to getenv() on Unix. Differential Revision: http://llvm-reviews.chandlerc.com/D1612 llvm-svn: 190423
-
- Sep 09, 2013
-
-
Bob Wilson authored
llvm-svn: 190331
-
Bob Wilson authored
The work on this project was left in an unfinished and inconsistent state. Hopefully someone will eventually get a chance to implement this feature, but in the meantime, it is better to put things back the way the were. I have left support in the bitcode reader to handle the case-range bitcode format, so that we do not lose bitcode compatibility with the llvm 3.3 release. This reverts the following commits: 155464, 156374, 156377, 156613, 156704, 156757, 156804 156808, 156985, 157046, 157112, 157183, 157315, 157384, 157575, 157576, 157586, 157612, 157810, 157814, 157815, 157880, 157881, 157882, 157884, 157887, 157901, 158979, 157987, 157989, 158986, 158997, 159076, 159101, 159100, 159200, 159201, 159207, 159527, 159532, 159540, 159583, 159618, 159658, 159659, 159660, 159661, 159703, 159704, 160076, 167356, 172025, 186736 llvm-svn: 190328
-
- Sep 04, 2013
-
-
Dmitri Gribenko authored
page size can be null terminated correctly by MemoryBuffer. llvm-svn: 189965
-
Alexander Kornienko authored
Move generic isPrint and columnWidth implementations to a separate header/source to allow using both generic and system-dependent versions on win32. Summary: This is needed so we can use generic columnWidthUTF8 in clang-format on win32 simultaneously with a separate system-dependent implementations of isPrint/columnWidth in TextDiagnostic.cpp to avoid attempts to print Unicode characters using narrow-character interfaces (which is not supported on Windows, and we'll have to figure out how to handle this). Reviewers: jordan_rose Reviewed By: jordan_rose CC: llvm-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D1559 llvm-svn: 189952
-
Eric Christopher authored
llvm-svn: 189899
-
Eric Christopher authored
llvm-svn: 189863
-
- Sep 03, 2013
-
-
Eric Christopher authored
hashing the contents of DW_FORM_data1 on top of a type with attributes. llvm-svn: 189862
-
Eric Christopher authored
llvm-svn: 189848
-
Joerg Sonnenberger authored
separator between each two elements. llvm-svn: 189846
-
- Aug 30, 2013
-
-
Eli Friedman authored
This is a re-commit of r189442; I'll follow up with clang changes. The previous default was almost, but not quite enough digits to represent a floating-point value in a manner which preserves the representation when it's read back in. The larger default is much less confusing. I spent some time looking into printing exactly the right number of digits if a precision isn't specified, but it's kind of complicated, and I'm not really sure I understand what APFloat::toString is supposed to output for FormatPrecision != 0 (or maybe the current API specification is just silly, not sure which). I have a WIP patch if anyone is interested. llvm-svn: 189624
-
- Aug 28, 2013
-
-
Rui Ueyama authored
Re-submitting r189416 with fix for Windows build on where strcasecmp is not defined. llvm-svn: 189501
-
Ted Kremenek authored
This is breaking numerous Clang tests on the buildbot. llvm-svn: 189447
-
Eli Friedman authored
The previous default was almost, but not quite enough digits to represent a floating-point value in a manner which preserves the representation when it's read back in. The larger default is much less confusing. I spent some time looking into printing exactly the right number of digits if a precision isn't specified, but it's kind of complicated, and I'm not really sure I understand what APFloat::toString is supposed to output for FormatPrecision != 0 (or maybe the current API specification is just silly, not sure which). I have a WIP patch if anyone is interested. llvm-svn: 189442
-
Rui Ueyama authored
This reverts r189416. llvm-svn: 189424
-
Rui Ueyama authored
Link.exe's command line options are case-insensitive. This patch adds a new attribute to OptTable to let the option parser to compare options, ignoring case. Command lines are generally case-insensitive on Windows. CL.exe is an exception. So this new attribute should be useful for other commands running on Windows. Differential Revision: http://llvm-reviews.chandlerc.com/D1485 llvm-svn: 189416
-
- Aug 22, 2013
-
-
NAKAMURA Takumi authored
[Win32] mapped_file_region: Fix a bug in CreateFileMapping() that Size must contain Offset when Offset >= 65536. llvm-svn: 189021
-
NAKAMURA Takumi authored
llvm-svn: 189020
-
NAKAMURA Takumi authored
llvm-svn: 189001
-
NAKAMURA Takumi authored
PageSize, aka AllocationGranularity, is 65536 on Win32 (and Cygwin). llvm-svn: 188999
-
- Aug 21, 2013
-
-
David Blaikie authored
llvm-svn: 188933
-
- Aug 19, 2013
-
-
Peter Collingbourne authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1437 llvm-svn: 188688
-
Peter Collingbourne authored
It turned out that I didn't need this for DFSan. llvm-svn: 188646
-
- Aug 16, 2013
-
-
Aaron Ballman authored
llvm-svn: 188525
-
Aaron Ballman authored
Tighten up the yamilizer so it stops eliding empty sequences if the embedded empty sequence is the first key/value in a map which is itself in a sequence. Patch with help from Nick Kledzik. llvm-svn: 188508
-
- Aug 14, 2013
-
-
Alexey Samsonov authored
llvm-svn: 188380
-
Hans Wennborg authored
Clients of the option parsing library should handle it explicitly using a KIND_REMAINING_ARGS option. Clang and lld have been updated in r188316 and r188318, respectively. Also fix -Wsign-compare warning in the option parsing test. llvm-svn: 188323
-
- Aug 13, 2013
-
-
Hans Wennborg authored
This adds KIND_REMAINING_ARGS, a class of options that consume all remaining arguments on the command line. This will be used to support /link in clang-cl, which is used to forward all remaining arguments to the linker. It also allows us to remove the hard-coded handling of "--", allowing clients (clang and lld) to implement that functionality themselves with this new option class. Differential Revision: http://llvm-reviews.chandlerc.com/D1387 llvm-svn: 188314
-
Nick Lewycky authored
to find loops if the From and To instructions were in the same block. Refactor the code a little now that we need to fill to start the CFG-walking algorithm with more than one starting basic block sometimes. Special thanks to Andrew Trick for catching an error in my understanding of natural loops in code review. llvm-svn: 188236
-