- Jul 19, 2013
-
-
Alexander Kornienko authored
Added -lines X:Y option to specify line range to process. This is a more human-friendly alternative to -offset and -length. Differential Revision: http://llvm-reviews.chandlerc.com/D1160 llvm-svn: 186625
-
Stephen Lin authored
Update to more CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change. All changes were made by the following bash script: find test/CodeGen -name "*.ll" | \ while read NAME; do echo "$NAME" grep -q "^; *RUN: *llc.*debug" $NAME && continue grep -q "^; *RUN:.*llvm-objdump" $NAME && continue grep -q "^; *RUN: *opt.*" $NAME && continue TEMP=`mktemp -t temp` cp $NAME $TEMP sed -n "s/^define [^@]*@\([A-Za-z0-9_]*\)(.*$/\1/p" < $NAME | \ while read FUNC; do sed -i '' "s/;\([A-Za-z0-9_-]*\)\([A-Za-z0-9_-]*\):\( *\)$FUNC[:]* *\$/;\1\2-LABEL:\3$FUNC:/g" $TEMP done sed -i '' "s/;\(.*\)-LABEL-LABEL:/;\1-LABEL:/" $TEMP sed -i '' "s/;\(.*\)-NEXT-LABEL:/;\1-NEXT:/" $TEMP sed -i '' "s/;\(.*\)-NOT-LABEL:/;\1-NOT:/" $TEMP sed -i '' "s/;\(.*\)-DAG-LABEL:/;\1-DAG:/" $TEMP mv $TEMP $NAME done This script catches a superset of the cases caught by the script associated with commit r186280. It initially found some false positives due to unusual constructs in a minority of tests; all such cases were disambiguated first in commit r186621. llvm-svn: 186624
-
Rui Ueyama authored
Summary: Dump optional data directory entries in the PE/COFF header, so that we can test the output of LLD linker. This patch updates the test binary file, but the source of the binary is the same. I just re-linked the file. I don't know how the previous file was linked, but the previous file did not have any data directory entries for some reason. Reviewers: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1148 llvm-svn: 186623
-
Nick Lewycky authored
llvm-svn: 186622
-
Stephen Lin authored
Disambiguate function names in some CodeGen tests. (Some tests were using function names that also were names of instructions and/or doing other unusual things that were making the test not amenable to otherwise scriptable pattern matching.) No functionality change. llvm-svn: 186621
-
Tilmann Scheller authored
PLI requires both the Thumb2 and the ARMv7 feature. Related to <rdar://problem/14403733>. llvm-svn: 186620
-
Fariborz Jahanian authored
declaration when converting to NS_ENUM. This required some code refactoring. llvm-svn: 186619
-
- Jul 18, 2013
-
-
Jim Ingham authored
plan providers from a "ThreadPlan *" to a "lldb::ThreadPlanSP". That was needed to fix a bug where the ThreadPlanStepInRange wasn't checking with its sub-plans to make sure they succeed before trying to proceed further. If the sub-plan failed and as a result didn't make any progress, you could end up retrying the same failing algorithm in an infinite loop. <rdar://problem/14043602> llvm-svn: 186618
-
Hans Wennborg authored
llvm-svn: 186617
-
Tom Stellard authored
https://bugs.freedesktop.org/show_bug.cgi?id=66175 llvm-svn: 186616
-
Tom Stellard authored
llvm-svn: 186615
-
Tom Stellard authored
llvm-svn: 186614
-
Tom Stellard authored
llvm-svn: 186613
-
Rui Ueyama authored
llvm-svn: 186612
-
Hans Wennborg authored
This should fix the chapuni bots. llvm-svn: 186611
-
Aaron Watry authored
F_Binary and friends were moved to include/Support/FileSystem.h v2: Maintain compatibility with LLVM 3.3 Signed-off-by:
Aaron Watry <awatry@gmail.com> llvm-svn: 186610
-
Hans Wennborg authored
llvm-svn: 186609
-
Hans Wennborg authored
s/Tokenize/Tokenizer/ to make the comment correspond to the parameter name llvm-svn: 186608
-
Hans Wennborg authored
llvm-svn: 186607
-
Rafael Espindola authored
It also doubles a test that F_Append works. llvm-svn: 186606
-
Hans Wennborg authored
and add a new option --driver-mode= to control it explicitly. The CCCIsCXX and CCCIsCPP flags were non-overlapping, i.e. there are currently really three modes that Clang can run in: gcc, g++ or cpp, so it makes sense to represent them as an enum. Having a command line flag to control it helps testing. llvm-svn: 186605
-
Fariborz Jahanian authored
- wip. llvm-svn: 186604
-
Reid Kleckner authored
MSBuild writes response files as UTF-16 little endian with a byte order mark. With this change, clang will be able to read them, although we still can't parse any of their flags. Adds a UTF-16-LE response file with a BOM for testing. Differential Revision: http://llvm-reviews.chandlerc.com/D1137 llvm-svn: 186603
-
Samuel Benzaquen authored
Summary: Change how error messages are constructed and stored in Diagnostics. Separate the notion of 'context' when recursing down in the parser and actual errors. This will simplify adding some new features, like argument overloading and error recovery. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1168 llvm-svn: 186602
-
Eric Christopher authored
This reverts commit r186599 as I didn't want to commit this yet. llvm-svn: 186601
-
Eric Christopher authored
llvm-svn: 186600
-
Eric Christopher authored
uses that wanted it. Also change the interface for createCompileUnit to compensate. Fix comments that refer to TheCU as well. llvm-svn: 186599
-
Aaron Ballman authored
Changed declarations from Attr to InheritableAttr as they are already being processed that way semantically. Patch thanks to Dean Sutherland! Reviewed by Eli Friedman. llvm-svn: 186598
-
Jim Ingham authored
<rdar://problem/14460024> llvm-svn: 186597
-
Jim Ingham authored
llvm-svn: 186596
-
Rafael Espindola authored
* assert that the return value is one of the documented values on msdn. * on FILE_TYPE_UNKNOWN, check GetLastError. Unfortunately I can't think of a way to get a FILE_TYPE_UNKNOWN on a test. llvm-svn: 186595
-
Stephen Lin authored
Update to CodeGen tests to use CHECK-LABEL for labels corresponding to function definitions for more informative error messages. No functionality change. llvm-svn: 186594
-
Nadav Rotem authored
llvm-svn: 186593
-
Nadav Rotem authored
This brings the compile time of the SLP-Vectorizer to about 2.5% of OPT for my testcase. llvm-svn: 186592
-
Aaron Ballman authored
llvm-svn: 186591
-
Aaron Ballman authored
Test contents were somehow duplicated, resulting in any testcase that fails automatically failing twice. Removing the duplicates. llvm-svn: 186590
-
NAKAMURA Takumi authored
Windows/Path.inc: Introduce file_type::character_file and file_type::fifo_file in sys::fs::getStatus(HANDLE). It fixes llvm/test/Other/close-stderr.ll on msys. FIXME: Provide unittests. llvm-svn: 186588
-
Reid Kleckner authored
The plan is to use it for clang and lld. Major behavior changes: - We can now parse UTF-16 files that have a byte order mark. - PR16209: Don't drop backslashes on the floor if they don't escape anything. The actual parsing loop was based on code from Clang's driver.cpp, although it's been rewritten to track its state with control flow rather than state variables. Reviewers: hans Differential Revision: http://llvm-reviews.chandlerc.com/D1170 llvm-svn: 186587
-
NAKAMURA Takumi authored
sys::fs::status() doesn't work on pipes. Investigating. llvm-svn: 186586
-
Ashok Thirumurthi authored
and -fomit-frame-pointer. - Parses eh_frame FDEs to determine the function address and size so that the call frame parsing can continue. Note: This code path is specific to ELF and PECOFF, because ObjectFileMachO uses LCT_FunctionStarts to efficiently populate the symbol table. Thanks to Jason Molenda for the review! llvm-svn: 186585
-