- Feb 23, 2014
-
-
Rafael Espindola authored
Before this patch they would take an boolean argument to say if the path already existed. This was redundant with the returned error_code which is able to represent that. This allowed for callers to incorrectly check only the existed flag instead of first checking the error code. Instead, pass in a boolean flag to say if the previous (non-)existence should be an error or not. Callers of the of the old simple versions are not affected. They still ignore the previous (non-)existence as they did before. llvm-svn: 201979
-
NAKAMURA Takumi authored
llvm-svn: 201978
-
NAKAMURA Takumi authored
llvm-svn: 201977
-
Rafael Espindola authored
llvm-svn: 201975
-
Benjamin Kramer authored
No functionality change. llvm-svn: 201974
-
NAKAMURA Takumi authored
llvm-svn: 201973
-
NAKAMURA Takumi authored
llvm-svn: 201972
-
NAKAMURA Takumi authored
llvm-svn: 201971
-
Nico Rieck authored
llvm-svn: 201970
-
NAKAMURA Takumi authored
The LLVMSupport library implementation consolidates all dependencies on system libraries. Move the logic gathering system libraries out of 'cmake/modules/LLVM-Config.cmake' and into 'lib/Support/CMakeLists.txt'. Use the target_link_libraries() command there to tell CMake about the link dependencies of the LLVMSupport implementation. CMake will automatically propagate this to all targets that link LLVMSupport directly or indirectly. We still need to build knowledge of system library dependencies into 'llvm-config'. Store the list of libraries needed in a property on LLVMSupport and teach 'tools/llvm-config/CMakeLists.txt' to retrieve it from there. Drop all calls to 'link_system_libs' and 'get_system_libs' from our CMake code. Replace their implementations with a warning that explains the calls are no longer necessary. Also drop from 'LLVMConfig.cmake' the HAVE_* and related variables that were published there only to allow 'get_system_libs' to run outside our build process. Contributed by Brad King. llvm-svn: 201969
-
Saleem Abdulrasool authored
This adds support for the .short and its alias .hword for adding literal values into the object file. This is similar to the .word directive, however, rather than inserting a value of 4 bytes, adds a 2-byte value. llvm-svn: 201968
-
NAKAMURA Takumi authored
[CMake] add_lld_library: link_system_libs is not needed any more. LLVMSupport may provide dependencies to system libs. llvm-svn: 201967
-
Michael Gottesman authored
llvm-svn: 201966
-
Alp Toker authored
The DiagnosticBuilder's lifetime in parser typo recovery was overlapping with the subsequent consume which can itself emit PP diagnostics. Patch by Olivier Goffart! llvm-svn: 201965
-
Saleem Abdulrasool authored
Now that the integrated assembler is considered a first class feature of the compiler and has a proper feature flag, document the change in the compiler flags. Ensure that we indicate that the legacy flags are still available, but, encourage users to switch to the feature flags. llvm-svn: 201964
-
Saleem Abdulrasool authored
The integrated assembler is a feature. This makes the new flags the default option, and the previous versions aliases. Ideally, at some point the aliases would be entirely removed. llvm-svn: 201963
-
Bob Wilson authored
In r199283 I switched the name of this variable to CCC_OVERRIDE_OPTIONS, but I kept some code to continue recognizing the old name temporarily. As far as I know, the only use of this was for some internal testing at Apple, and we've now switched to use the new name. If anyone else is still using this and needs more time to switch names, I guess we'll find out! <rdar://problem/15821425> llvm-svn: 201962
-
Saleem Abdulrasool authored
Forward the -no-integrated-as option to -cc1 rather than simply invoking the appropriate tool. This is useful since this option has been overloaded to permit disabling of parsing inline assembly at the MC layer. This re-applies the previous version of the patch with a renaming of the driver option to the public name rather than the internal name (-target vs -triple). The actual failure is fixed separately of an overly aggressive negative pattern match in the MIPS driver tests. It also fixes the incorrect test for targets that have the integrated assembler disabled by default. llvm-svn: 201960
-
Saleem Abdulrasool authored
The tests attempt to validate the invocation of the assembler program with the integrated assembler disabled. However, the match pattern for the negative tests are lax and will match both the driver invocation as well as the assembler invocation. Make the tests more strict by ensuring that we only match the assembler invocation. llvm-svn: 201959
-
- Feb 22, 2014
-
-
Saleem Abdulrasool authored
This seems to break a MIPS test. Revert until I figure out the root cause. llvm-svn: 201954
-
Saleem Abdulrasool authored
Forward the -no-integrated-as option to -cc1 rather than simply invoking the appropriate tool. This is useful since this option has been overloaded to permit disabling of parsing inline assembly at the MC layer. llvm-svn: 201952
-
Benjamin Kramer authored
Should bring the atom buildbots back to life. llvm-svn: 201951
-
Nico Rieck authored
llvm-svn: 201947
-
Manman Ren authored
llvm-svn: 201944
-
Aaron Ballman authored
llvm-svn: 201942
-
Aaron Ballman authored
Exposing the noduplicate attribute within Clang, which marks functions so that the optimizer does not duplicate code. Patch thanks to Marcello Maggioni! llvm-svn: 201941
-
Nico Rieck authored
Offsets past the range of single-slash encoding are encoded as base64, padded to 6 characters, and prefixed with two slashes. This encoding is undocumented but used by MSVC. llvm-svn: 201940
-
Logan Chien authored
llvm-svn: 201939
-
Marshall Clow authored
Fix historical #ifdef. Use __cplusplus instead of __GXX_EXPERIMENTAL_CXX0X__ when compiling with clang. No functionality change. Noteto self: It is important to run the regression tests on the copy of the code that you've changed. llvm-svn: 201938
-
Logan Chien authored
This commit moves getSLEB128Size() and getULEB128Size() from MCAsmInfo to LEB128.h and removes some copy-and-paste code. Besides, this commit also adds some unit tests for the LEB128 functions. llvm-svn: 201937
-
Rafael Espindola authored
This reverts commit r201934. Polly has been fixed to work with this. llvm-svn: 201936
-
Rafael Espindola authored
This will make sure polly finds libisl.so at runtime even if the parent CMakeLists.txt sets CMAKE_INSTALL_RPATH. llvm-svn: 201935
-
Rafael Espindola authored
This reverts commit r201921. This should bring the polly bots back. I will try to build it locally to understand how cmake was setting the rpath of LLVMPolly.so. llvm-svn: 201934
-
Logan Chien authored
The operator+() and operator-() do not change the member variables of SuccIterator. This CL will qualify the *this* pointer with const. llvm-svn: 201933
-
NAKAMURA Takumi authored
llvm-svn: 201932
-
NAKAMURA Takumi authored
llvm/test/CodeGen/X86/shift-pcmp.ll: Tweak to appease FileCheck. "CHECK-LABEL" doesn't identify labels magically and CHECK-LABEL behaves free from other contexts. For targeting pecoff, ".def foo" appears before ".short 32". .def foo; ... .LCPI0_0: .short 32 foo: CHECK-LABEL seeks not from ".short 32" but from the top of the input. llvm-svn: 201931
-
Logan Chien authored
llvm-svn: 201930
-
Michael Gottesman authored
Also fixed some trailing whitespace issues. llvm-svn: 201929
-
Ed Maste authored
llvm.org/pr17232 llvm-svn: 201928
-
Peter Collingbourne authored
The language forbids defining enums in prototypes, so this check is normally redundant, but if an enum is defined during template instantiation it should not be added to the prototype scope. While at it, clean up the code that deals with tag definitions in prototype scope and expand the visibility warning to cover the case where an anonymous enum is defined. Differential Revision: http://llvm-reviews.chandlerc.com/D2742 llvm-svn: 201927
-