- Mar 12, 2014
-
-
Saleem Abdulrasool authored
Always use list(APPEND) as it will perform the desired action even if the list is empty or previously unset. The first set is harmless, however, the subsequent set was overwriting the previous flag setup resulting in an improper compilation command being generated. This manifested as a build failure on Linux when using cmake + ninja. llvm-svn: 203638
-
Saleem Abdulrasool authored
add_definitions is meant for adding C preprocessor definitions. Modern cmake suggests use of the CMAKE_CXX_FLAGS for the purposes of pushing flags to the compilation commands. Simply switch to the modern form given that we are already requiring a new enough cmake. llvm-svn: 203637
-
Saleem Abdulrasool authored
llvm-svn: 203636
-
Hans Wennborg authored
It seems gas can't handle CFI directives with VFP register names ("d12", etc.). This broke us trying to build Chromium for Android after 201423. A gas bug has been filed: https://sourceware.org/bugzilla/show_bug.cgi?id=16694 compnerd suggested making this conditional on whether we're using the integrated assembler or not. I'll look into that in a follow-up patch. Differential Revision: http://llvm-reviews.chandlerc.com/D3049 llvm-svn: 203635 -
David Blaikie authored
llvm-svn: 203634
-
Saleem Abdulrasool authored
Unfortunately, XFAIL applies to the entire file. Split the test into two different units, enabling the proper application of XFAIL on the test which is expected to fail on Windows. llvm-svn: 203633
-
Saleem Abdulrasool authored
Reduce the stack usage as hopefully include paths are usually not too long. Add a test case for the path normalisation behaviour. llvm-svn: 203632
-
Marshall Clow authored
THIRD TIME. Richard pointed out (again) that I'd switched the order of the instance variables; and thus failed to repair the ABI break. After this, I'm going to sit down and watch TV for the evening. llvm-svn: 203631
-
Ben Langmuir authored
When enabled, always validate the system headers when loading a module. The end result of this is that when these headers change, we will notice and rebuild the module. llvm-svn: 203630
-
Aaron Ballman authored
llvm-svn: 203628
-
Adrian Prantl authored
This reverts commit 203504. We decided that it is better to disable this test on a per-buildbot basis in zorg rather than everywhere on Darwin. llvm-svn: 203627
-
Joerg Sonnenberger authored
programs. Initialize lsdaEncoding to DW_EH_PE_omit and check for that value to decide whether a value should be decoded. llvm-svn: 203626
-
David Blaikie authored
llvm-svn: 203625
-
Hans Wennborg authored
This narrows the impact of r188833 after Dimitry pointed out that it's good to be able to tell the difference between 'cc' and 'CC'. llvm-svn: 203624
-
David Blaikie authored
I'll fix this to not test assembly in a moment. llvm-svn: 203623
-
David Blaikie authored
llvm-svn: 203622
-
David Blaikie authored
llvm-svn: 203621
-
David Blaikie authored
llvm-svn: 203620
-
David Blaikie authored
I could fold the callers into their one call site, but the indirection (given how verbose choosing the section is) seemed helpful. The use of a member function pointer's a bit "tricky", but seems limited enough, the call sites are simple/clean/clear, and there's only one use. llvm-svn: 203619
-
Duncan P. N. Exon Smith authored
llvm-svn: 203618
-
David Blaikie authored
llvm-svn: 203617
-
David Blaikie authored
llvm-svn: 203616
-
Sebastian Pop authored
the first run of the polly buildbot failed, and then it started passing. This is due to the fact that the buildbot re-builds in an existing directory, and the first run does not have WITH_POLLY set when it enters tools/. Thus, cmake ignores the tools/polly dir in the first run, and then because it reuses the CMakeCache.txt of the previous run, it has the WITH_POLLY set by the previous run, and so it passes the second time. llvm-svn: 203615
-
Saleem Abdulrasool authored
Normalise the path separator character on non-windows platforms. Although this would work on Windows as well (most newer versions of Windows support either '/' or '\' as a path separator character), it could potentially cause problems with full UNC paths. This change enables the use of the Windows SDK on Linux which will not accept '\' as a path separator. llvm-svn: 203614
-
Rui Ueyama authored
llvm-svn: 203613
-
David Blaikie authored
llvm-svn: 203612
-
Saleem Abdulrasool authored
Add a utility function to convert the Windows path separator to Unix style path separators. This is used by a subsequent change in clang to enable the use of Windows SDK headers on Linux. llvm-svn: 203611
-
Marshall Clow authored
llvm-svn: 203610
-
Andreas Simbuerger authored
Rename some files and adjust cmake accordingly llvm-svn: 203609
-
Andreas Simbuerger authored
llvm-svn: 203608
-
Andreas Simbuerger authored
Move all transformations into their own directory. CMakeLists are adjusted accordingly. llvm-svn: 203607
-
Sasa Stankovic authored
* Add masking instructions before indirect calls (in MC layer). * Align call + branch delay to the bundle end (in MC layer). Differential Revision: http://llvm-reviews.chandlerc.com/D3032 llvm-svn: 203606
-
Rafael Espindola authored
The function hasReliableSymbolDifference had exactly one use in the MachO writer. It is also only true for X86_64. In fact, the comments refers to "Darwin x86_64" and everything else, so this makes the code match the comment. If this is to be abstracted again, it should be a property of TargetObjectWriter, like useAggressiveSymbolFolding. llvm-svn: 203605
-
Rafael Espindola authored
llvm-svn: 203604
-
David Blaikie authored
llvm-svn: 203603
-
Aaron Ballman authored
llvm-svn: 203602
-
Hans Wennborg authored
stlport doesn't include __cxa_demangle. This reverts r201545. llvm-svn: 203601
-
Sean Callanan authored
erroneously completing Objective-C classes sourced from the Objective-C runtime without checking if there was an authoritative version in the debug information. <rdar://problem/16065049> llvm-svn: 203600
-
Sean Callanan authored
User fixes. Also changed our iterations across global variables and instruction operands to reflect the new C++11 approach. llvm-svn: 203599
-
Fariborz Jahanian authored
as it can commonly happen. // rdar://16261494 llvm-svn: 203598
-