summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* GVN: Fix non-determinism in map iteration.Benjamin Kramer2014-05-131-4/+7
| | | | | | | | | Iterating over a DenseMaop is non-deterministic and results to unpredictable IR output. Based on a patch by Daniel Reynaud! llvm-svn: 208728
* GVN: rangify a couple of loops.Benjamin Kramer2014-05-131-13/+9
| | | | | | No functionality change. llvm-svn: 208727
* Save the optimization level the subtarget was created with in aEric Christopher2014-05-132-15/+14
| | | | | | | | | | member variable and sink the initialization of crbits into the subtarget feature reset code. No functional change, but this refactor will be used in a future commit. llvm-svn: 208726
* Make this test target independent.Eric Christopher2014-05-131-8/+6
| | | | llvm-svn: 208725
* PR19729: Delete a bunch of bogus code in Sema::FindAllocationOverload. ThisRichard Smith2014-05-134-52/+64
| | | | | | | | | caused us to perform copy-initialization for the parameters of an allocation function called by a new-expression multiple times, resulting in us rejecting allocations that passed non-copyable parameters (and much worse things in MSVC compat mode, where we potentially called this function multiple times). llvm-svn: 208724
* Make the split function use StringRef::split.Eric Christopher2014-05-131-19/+3
| | | | llvm-svn: 208723
* Add a requires for the arm-registered-target needed by this test asEric Christopher2014-05-131-2/+3
| | | | | | well. llvm-svn: 208722
* autoconf: Fix soname for libLLVM-Major.Minor.so (2nd try)Tom Stellard2014-05-132-5/+14
| | | | | | | | | | | | | We were using libLLVM-Major.Minor.Patch.so for the soname, but we need the soname to stay consistent for all Major.Minor.* releases otherwise operating system distributors will need to rebuild all packages that link with LLVM every time there is a new point release. This patch also reverses the compatibility symlink, so libLLVM-Major.Minor.Patch.so is now a symlink that points to libLLVM-Major-Minor.so. llvm-svn: 208721
* Add __ARM_DWARF_EH__ to signify the use of Itanium ABI for unwindJoerg Sonnenberger2014-05-132-0/+12
| | | | | | instructions. llvm-svn: 208719
* Test preprocessor defines for NetBSD/ARM.Joerg Sonnenberger2014-05-131-0/+103
| | | | llvm-svn: 208718
* Update for llvm API change.Rafael Espindola2014-05-132-6/+5
| | | | llvm-svn: 208717
* Split GlobalValue into GlobalValue and GlobalObject.Rafael Espindola2014-05-1314-58/+130
| | | | | | | | | This allows code to statically accept a Function or a GlobalVariable, but not an alias. This is already a cleanup by itself IMHO, but the main reason for it is that it gives a lot more confidence that the refactoring to fix the design of GlobalAlias is correct. That will be a followup patch. llvm-svn: 208716
* Check explicitly for EHABI and just use the default settings.Joerg Sonnenberger2014-05-131-0/+4
| | | | | | Code depends on the assembler and linker to fix things up... llvm-svn: 208715
* [libsanitizer] Fix the return type of internal_forkAlexander Potapenko2014-05-132-2/+2
| | | | llvm-svn: 208714
* Fix broken TestMultithreaded on Linux.Todd Fiala2014-05-131-2/+0
| | | | | | | | The clean line is failing under Ubuntu 12.04/gcc. It cleans fine without it on MacOSX. It doesn't clean right on Linux but at least now it doesn't fail the test. llvm-svn: 208713
* ARM: Additional test files for thumb fixups (checked with llvm-mv ↵Christian Pirker2014-05-134-44/+32
| | | | | | -show-encoding) llvm-svn: 208712
* ARMEB: Fix byte order of EH frame unwinding instructions, with modified test ↵Christian Pirker2014-05-132-4/+87
| | | | | | | | | | | | file This commit was already commited as revision rL208689 and discussd in phabricator revision D3704. But the test file was crashing on OS X and windows. I fixed the test file in the same way as in rL208340. llvm-svn: 208711
* Style fix: The name of variables starts with an upper case letter.Rafael Espindola2014-05-131-3/+3
| | | | llvm-svn: 208710
* Revert "autoconf: Fix soname for libLLVM-Major.Minor.so"Tom Stellard2014-05-131-2/+2
| | | | | | | | | This reverts commit r208708. I forgot to run make clean before testing this and it broke tools linking. llvm-svn: 208709
* autoconf: Fix soname for libLLVM-Major.Minor.soTom Stellard2014-05-131-2/+2
| | | | | | | | | | | | | We were using libLLVM-Major.Minor.Patch.so for the soname, but we need the soname to stay consistent for all Major.Minor.* releases otherwise operating system distributors will need to rebuild all packages that link with LLVM every time there is a new point release. This patch also reverses the compatibility symlink, so libLLVM-Major.Minor.Patch.so is now a symlink that points to libLLVM-Major-Minor.so. llvm-svn: 208708
* [libsanitizer] Use internal_fork() to spawn the symbolizer process.Alexander Potapenko2014-05-135-1/+44
| | | | | | This should fix https://code.google.com/p/thread-sanitizer/issues/detail?id=61 llvm-svn: 208707
* Fix the AST printer for attributed statements so that it does not print ↵Aaron Ballman2014-05-133-16/+17
| | | | | | duplicate attribute introducers. Eg) [[clang::fallthrough]] instead of [[[[clang::fallthrough]]]] llvm-svn: 208706
* [CGP] r205941 changed the logic, so that a cast happens *before* 'Result' isJoey Gouly2014-05-132-1/+15
| | | | | | | | | | | compared to 'AddrMode.BaseReg'. In the case that 'AddrMode.BaseReg' is nullptr, 'Result' will also be nullptr, so the cast causes an assertion. We should use dyn_cast_or_null here to check 'Result' is not null and it is an instruction. Bug found by Mats Petersson, and I reduced his IR to get a test case. llvm-svn: 208705
* Revert "ARMEB: Fix byte order of EH frame unwinding instructions"Rafael Espindola2014-05-132-87/+4
| | | | | | | | This reverts commit r208689. The test was crashing on OS X and windows. llvm-svn: 208704
* Updated the test case to show that no diagnostics are expected, and not ↵Aaron Ballman2014-05-131-1/+2
| | | | | | require emitting the AST until after the AST printing for statement attributes is updated. llvm-svn: 208703
* No longer triggering a checked iterator assert on Windows when using ↵Aaron Ballman2014-05-134-9/+35
| | | | | | std::copy while deserializing attributed statements with more than one attribute. llvm-svn: 208702
* Enable sanitizer tests (check-sanitizer, check-asan) on WindowsTimur Iskhodzhanov2014-05-131-4/+4
| | | | llvm-svn: 208701
* [Sanitizer tests] Define 16- and 64-bit versions of ↵Timur Iskhodzhanov2014-05-131-0/+35
| | | | | | | | atomic_compare_exchange_strong on Windows Reviewed at http://reviews.llvm.org/D3745 llvm-svn: 208700
* Define the InterlockedCompareExchange64 intrinsic on 32-bits tooTimur Iskhodzhanov2014-05-131-2/+0
| | | | llvm-svn: 208699
* [Sanitizer tests] Exclude three tests that fail on WindowsTimur Iskhodzhanov2014-05-132-0/+7
| | | | llvm-svn: 208698
* [Sanitizer tests] Land the sanitizer twin of the asan-only change r208682Timur Iskhodzhanov2014-05-131-2/+28
| | | | llvm-svn: 208697
* [Sanitizer tests] Add sanitizer_test_config.h to make the inclusion of ↵Timur Iskhodzhanov2014-05-136-9/+38
| | | | | | | | gtest.h conditional Reviewed at http://reviews.llvm.org/D3744 llvm-svn: 208696
* [Sanitizer/ASan tests] Automatically detect the presence of libstdc++Timur Iskhodzhanov2014-05-133-3/+5
| | | | llvm-svn: 208695
* Teach the table generator to not generate switch statements containing only ↵Aaron Ballman2014-05-131-12/+15
| | | | | | | | a default label with no cases. This solves some warnings with MSVC. No functional changes intended. llvm-svn: 208694
* [sanitizer] Disable fopen64 interceptor on osx.Evgeniy Stepanov2014-05-132-15/+23
| | | | llvm-svn: 208693
* [Sanitizer tests] Fix most of the build problems on WindowsTimur Iskhodzhanov2014-05-137-19/+40
| | | | | | E.g. use the pthread helpers introduced in r208674 llvm-svn: 208692
* ARM: Additional test files for thumb fixupsChristian Pirker2014-05-133-0/+36
| | | | llvm-svn: 208691
* [mips] Marked up instructions added in MIPS32r2 and tested that IAS for ↵Daniel Sanders2014-05-1316-42/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | -mcpu=mips(2|32) does not accept them Summary: This required a new instruction group representing the 32-bit subset of MIPS-3 that was available in MIPS32R2. To limit the number of tests required, only one 32-bit and one 64-bit ISA prior to MIPS32/MIPS64 are tested. rdhwr has been deliberately left without an ISA annotation for now. This is because the assembler and CodeGen disagree on when the instruction is available. Strictly speaking, it is only available in MIPS32r2 and MIPS64r2. However, it is emulated by a kernel trap on earlier ISA's and is necessary for TLS so CodeGen should emit it on older ISA's too. Depends on D3696 Reviewers: vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3697 llvm-svn: 208690
* ARMEB: Fix byte order of EH frame unwinding instructionsChristian Pirker2014-05-132-4/+87
| | | | llvm-svn: 208689
* try to make test/Driver/masm.c work with the hexagon botNico Weber2014-05-131-0/+1
| | | | llvm-svn: 208688
* Drop AST's version of ARMCXXABI, it doesn't differ from the Itanium baseJoerg Sonnenberger2014-05-133-13/+2
| | | | | | class. llvm-svn: 208687
* [sanitizer] Mark several functions as possibly unused.Evgeniy Stepanov2014-05-131-4/+5
| | | | llvm-svn: 208686
* [mips] Free up two values in SubtargetFeatureFlag by folding the redundant ↵Daniel Sanders2014-05-132-6/+5
| | | | | | | | | | | | | | | | | | | | | IsGP32/IsGP64 into IsGP32bit/IsGP64bit Summary: We are currently very close to the 32-bit limit of the current assembler implementation. This is because there is no way to represent an instruction that is available in, for example, Mips3 or Mips32. We have to define a feature bit that represents this. This patch cleans up a pair of redundant feature bits and slightly postpones the point we will reach the limit. Reviewers: zoran.jovanovic, jkolek, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3703 llvm-svn: 208685
* Fix build failure with MSVC, following r208680Artyom Skrobov2014-05-131-2/+3
| | | | llvm-svn: 208684
* Support -masm= flag for x86 targets.Nico Weber2014-05-133-0/+24
| | | | | | | `clang -S -o - file.c -masm=att` will write assembly to stdout in at&t syntax (the default), `-masm=intel` will instead output intel style asm. llvm-svn: 208683
* [ASan tests] Add Windows-specific flags to lib/asan/tests/CMakeLists.txtTimur Iskhodzhanov2014-05-132-9/+35
| | | | | | Reviewed at http://reviews.llvm.org/D3720 llvm-svn: 208682
* include/llvm/Support/Unicode.h didn't have re-include guardsArtyom Skrobov2014-05-131-0/+5
| | | | llvm-svn: 208681
* [un]wrap extracted from lib/Target/Target[MachineC].cpp, ↵Artyom Skrobov2014-05-134-33/+10
| | | | | | lib/ExecutionEngine/ExecutionEngineBindings.cpp into include/llvm/IR/DataLayout.h llvm-svn: 208680
* TableGen: strengthen assertTim Northover2014-05-131-1/+1
| | | | llvm-svn: 208679
* [sanitizer] Delete an unused function.Evgeniy Stepanov2014-05-131-8/+0
| | | | llvm-svn: 208678
OpenPOWER on IntegriCloud