Joerg Sonnenberger [Sat, 1 Oct 2016 08:03:55 +0000 (08:03 +0000)]
Retire LLVM_BINDIR and friends. They haven't been provided with actual
values since the switch to cmake.
llvm-svn: 283026
Kostya Serebryany [Sat, 1 Oct 2016 07:37:40 +0000 (07:37 +0000)]
[libFuzzer] add fuzzer test for libxml2, finds https://bugzilla.gnome.org/show_bug.cgi?id=751631
llvm-svn: 283024
Joerg Sonnenberger [Sat, 1 Oct 2016 07:35:08 +0000 (07:35 +0000)]
GC HAVE_STRTOQ
llvm-svn: 283023
Joerg Sonnenberger [Sat, 1 Oct 2016 07:34:18 +0000 (07:34 +0000)]
Retire bugpoint's -R. hack.
It got disconnected during the cmake conversion. For Miscompilation.cpp,
it was purely advisory for the user and the ToolRunner.cpp version was
trying to compensate for libs and bins in the same directory, which
hasn't been the case for a very long time.
llvm-svn: 283022
Kostya Serebryany [Sat, 1 Oct 2016 07:13:25 +0000 (07:13 +0000)]
[libFuzzer] fix a recent bugs (buffer overflow)
llvm-svn: 283021
Craig Topper [Sat, 1 Oct 2016 07:11:24 +0000 (07:11 +0000)]
[X86] Cleanup patterns for using VMOVDDUP for broadcasts.
-Remove OptForSize. Not all of the backend follows the same rules for creating broadcasts and there is no conflicting pattern.
-Don't stop selecting VEX VMOVDDUP when AVX512 is supported. We need VLX for EVEX VMOVDDUP.
-Only use VMOVDDUP for v2i64 broadcasts if AVX2 is not supported.
llvm-svn: 283020
Mehdi Amini [Sat, 1 Oct 2016 07:08:23 +0000 (07:08 +0000)]
Revert "Use StringRef instead of raw pointer in TargetRegistry API (NFC)"
This reverts commit r283017. Creates an infinite loop somehow.
llvm-svn: 283019
Mehdi Amini [Sat, 1 Oct 2016 06:46:33 +0000 (06:46 +0000)]
Use StringRef instead of raw pointers in MCAsmInfo/MCInstrInfo APIs (NFC)
llvm-svn: 283018
Mehdi Amini [Sat, 1 Oct 2016 06:25:30 +0000 (06:25 +0000)]
Use StringRef instead of raw pointer in TargetRegistry API (NFC)
llvm-svn: 283017
Mehdi Amini [Sat, 1 Oct 2016 06:22:04 +0000 (06:22 +0000)]
Use StringRef instead of raw pointer in ExecutionEngine
llvm-svn: 283016
Craig Topper [Sat, 1 Oct 2016 06:01:23 +0000 (06:01 +0000)]
[AVX-512] Add EVEX versions of VPBROADCASTW patterns with truncated i32 loads.
llvm-svn: 283015
Craig Topper [Sat, 1 Oct 2016 06:01:18 +0000 (06:01 +0000)]
[AVX-512] Add VLX command lines to 128 and 256-bit shufffle tests.
llvm-svn: 283014
Mehdi Amini [Sat, 1 Oct 2016 05:57:55 +0000 (05:57 +0000)]
Use StringRef in Datalayout API (NFC)
llvm-svn: 283013
Mehdi Amini [Sat, 1 Oct 2016 05:57:50 +0000 (05:57 +0000)]
DIFlags: use StringRef instead of raw pointer (NFC)
llvm-svn: 283012
Mehdi Amini [Sat, 1 Oct 2016 05:12:48 +0000 (05:12 +0000)]
Revert "Use StringRef in Datalayout API (NFC)"
This reverts commit r283009. Bots are broken.
llvm-svn: 283011
Jason Molenda [Sat, 1 Oct 2016 04:50:25 +0000 (04:50 +0000)]
Add unit tests for specific instruction patterns that the x86
assembly inspection class is designed to detect. This is only about
half of the instructions that it needs to recognize - I'll complete
this in a separate checkin.
The larger full-function style test cases I'd checked in previously
covered nearly all of these already, but I wanted simpler test cases
too, so if they fail in the future, it will be easier to spot the
issue.
llvm-svn: 283010
Mehdi Amini [Sat, 1 Oct 2016 04:17:59 +0000 (04:17 +0000)]
Use StringRef in Datalayout API (NFC)
llvm-svn: 283009
Mehdi Amini [Sat, 1 Oct 2016 04:03:30 +0000 (04:03 +0000)]
Use StringRef in Pass Info/Support API (NFC)
llvm-svn: 283008
Mehdi Amini [Sat, 1 Oct 2016 03:43:20 +0000 (03:43 +0000)]
Use StringRef in CommandLine Options handling (NFC)
llvm-svn: 283007
Mehdi Amini [Sat, 1 Oct 2016 03:19:41 +0000 (03:19 +0000)]
Use StringRef instead of raw pointer in MachinePassRegistry (NFC)
llvm-svn: 283006
Mehdi Amini [Sat, 1 Oct 2016 03:10:48 +0000 (03:10 +0000)]
Use StringRef in TLI instead of raw pointer (NFC)
llvm-svn: 283005
Mehdi Amini [Sat, 1 Oct 2016 02:56:57 +0000 (02:56 +0000)]
Use StringRef in Pass/PassManager APIs (NFC)
llvm-svn: 283004
Mehdi Amini [Sat, 1 Oct 2016 02:35:24 +0000 (02:35 +0000)]
Revert "AMDGPU: Don't use offen if it is 0"
This reverts commit r282999.
Tests are not passing: http://lab.llvm.org:8011/builders/clang-x86_64-linux-selfhost-modules/builds/20038
llvm-svn: 283003
Eric Christopher [Sat, 1 Oct 2016 01:50:33 +0000 (01:50 +0000)]
Remove getTargetTriple and update all uses to use the Triple off
of the TargetMachine. NFC.
llvm-svn: 283002
Eric Christopher [Sat, 1 Oct 2016 01:50:29 +0000 (01:50 +0000)]
Stop calling getTargetTriple off of the AsmPrinter and constructing a
TargetTriple, just grab it off of the TargetMachine. NFC.
llvm-svn: 283001
Eric Christopher [Sat, 1 Oct 2016 01:50:25 +0000 (01:50 +0000)]
Remove TargetTriple from AArch64MCInstLower as it's used in few places
and can be pulled from the TargetMachine. NFC.
llvm-svn: 283000
Matt Arsenault [Sat, 1 Oct 2016 01:37:15 +0000 (01:37 +0000)]
AMDGPU: Don't use offen if it is 0
This removes many re-initializations of a base register to 0.
llvm-svn: 282999
Mehdi Amini [Sat, 1 Oct 2016 01:18:23 +0000 (01:18 +0000)]
Use StringRef in LTOCodegenerator (NFC)
llvm-svn: 282998
Mehdi Amini [Sat, 1 Oct 2016 01:18:16 +0000 (01:18 +0000)]
Use StringRef in LTOModule implementation (NFC)
llvm-svn: 282997
Mehdi Amini [Sat, 1 Oct 2016 01:16:22 +0000 (01:16 +0000)]
Use StringRef in Triple API (NFC)
llvm-svn: 282996
Kostya Serebryany [Sat, 1 Oct 2016 01:04:29 +0000 (01:04 +0000)]
[libFuzzer] implement the -shrink=1 option that tires to make elements of the corpus smaller, off by default
llvm-svn: 282995
Kostya Serebryany [Sat, 1 Oct 2016 00:55:13 +0000 (00:55 +0000)]
[sanitizer-coverage] remove stale code
llvm-svn: 282994
Jim Ingham [Sat, 1 Oct 2016 00:49:12 +0000 (00:49 +0000)]
Fix up this test case.
The lldbutil.run_break_set_by_file_and_line has already checked that the number of
locations was 1, so don't check it again. And certainly don't check it again by
grubbing in break list output.
Also, we know the Thread's IsStopped state is wrong, and have a test for that, so
don't keep testing it in other files where that isn't the primary thing we're testing.
I removed the xfail for Darwin. If this also passes on other systems, we can remove
the xfails from them as we find that out.
llvm-svn: 282993
Nirav Dave [Sat, 1 Oct 2016 00:42:32 +0000 (00:42 +0000)]
[MC] Prevent out of order HashDirective lexing in AsmLexer.
To lex hash directives we peek ahead to find component tokens, create a
unified token, and unlex the peeked tokens so the parser does not need
to parse the tokens then. Make sure we do not to lex another hash
directive during peek operation.
This fixes PR28921.
Reviewers: rnk, loladiro
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D24839
llvm-svn: 282992
Jason Molenda [Sat, 1 Oct 2016 00:19:26 +0000 (00:19 +0000)]
Add support for some extended push instructions in i386/x86_64 like
'push 0x20(%esp)' which clang can generate when emitting
-fomit-frame-pointer code for 32-bit.
Add a unit test program which includes this instruction.
Also fix a bug in the refactoring/rewrite of the x86 assembly
instruction profiler where I'd hard coded it as a 64-bit disassembler
instead of using the ArchSpec to pick a 32-bit or 64-bit disassembler
from llvm. When the disassembler would hit an instruction
that is invalid in 64-bit mode, it would stop disassembling the function.
This likely led to the TestSBData testsuite failure on linux with 32-bit
i386 and gcc-4.9; I'll test that in a bit.
The newly added unit test program is 32-bit i386 code and it includes
an instruction which is invalid in 64-bit mode so it will catch this.
<rdar://problem/
28557876>
llvm-svn: 282991
Todd Fiala [Sat, 1 Oct 2016 00:17:08 +0000 (00:17 +0000)]
test infra: clear file-charged issues on rerun of file
This change addresses the corner case bug in the test
infrastructure where a test file times out *outside*
of any running test method. In those cases, the issue
was charged to the file, not to a test method within
the file. When that file is re-run successfully,
none of the test-method-level successes would clear
the file-level issue.
This change fixes that: for all test files that are
getting rerun (whether by being marked flaky or
via the --rerun-all-issues flag), file-level test
issues are searched for in each of those files. Each
file-level issue found in the rerun file list then
gets cleared.
A test of this feature is added to issue_verification,
using the technique there of moving the *.py.park file
to *.py to do an end-to-end validation.
This change also adds a .gitignore entry for pyenv
project-level files and fixes up a few minor pep8
formatting violations in files I touched.
Fixes:
llvm.org/pr27423
llvm-svn: 282990
Richard Trieu [Sat, 1 Oct 2016 00:15:24 +0000 (00:15 +0000)]
Fix crash when emitting error.
With templated classes, is possible to not be able to determine is a member
function is a special member function before the class is instantiated. Only
these special member functions can be defaulted. In some cases, knowing
whether a function is a special member function can't be determined until
instantiation, so an uninstantiated function could possibly be defaulted too.
Add a case to the error diagnostic when the function marked with a default is
not known to be a special member function.
llvm-svn: 282989
Mehdi Amini [Sat, 1 Oct 2016 00:05:34 +0000 (00:05 +0000)]
[ASAN] Add the binder globals on Darwin to llvm.compiler.used to avoid LTO dead-stripping
The binder is in a specific section that "reverse" the edges in a
regular dead-stripping: the binder is live as long as a global it
references is live.
This is a big hammer that prevents LLVM from dead-stripping these,
while still allowing linker dead-stripping (with special knowledge
of the section).
Differential Revision: https://reviews.llvm.org/D24673
llvm-svn: 282988
Justin Lebar [Fri, 30 Sep 2016 23:57:38 +0000 (23:57 +0000)]
[CUDA] Harmonize asserts in SemaCUDA, NFC.
llvm-svn: 282987
Justin Lebar [Fri, 30 Sep 2016 23:57:34 +0000 (23:57 +0000)]
[CUDA] Disallow __constant__ local variables.
Reviewers: tra, rnk
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D25129
llvm-svn: 282986
Justin Lebar [Fri, 30 Sep 2016 23:57:30 +0000 (23:57 +0000)]
[CUDA] Disallow 'extern __shared__' variables.
Also add a test that we disallow
__constant__ __shared__ int x;
because it's possible to break this without breaking
__shared__ __constant__ int x;
Reviewers: rnk
Subscribers: cfe-commits, tra
Differential Revision: https://reviews.llvm.org/D25125
llvm-svn: 282985
Richard Smith [Fri, 30 Sep 2016 23:47:58 +0000 (23:47 +0000)]
Fix tests to not assume they know exactly what will be in Clang's predefines buffer.
llvm-svn: 282984
Kostya Serebryany [Fri, 30 Sep 2016 23:29:27 +0000 (23:29 +0000)]
[libFuzzer] remove some experimental code
llvm-svn: 282983
Davide Italiano [Fri, 30 Sep 2016 23:22:42 +0000 (23:22 +0000)]
[llvm-objdump] Switch to a range loop. NFCI.
llvm-svn: 282982
Richard Smith [Fri, 30 Sep 2016 23:16:08 +0000 (23:16 +0000)]
Fix bogus "inline namespace cannot be reopened as non-inline" diagnostic to
just warn that the second declaration is missing the 'inline' keyword. This is
valid, and we shouldn't be suggesting otherwise.
llvm-svn: 282981
Saleem Abdulrasool [Fri, 30 Sep 2016 23:11:05 +0000 (23:11 +0000)]
CodeGen: inherit DLLExport attribute in Windows Itanium
When emitting the fundamental type information constants, inherit the
DLLExportAttr from `__fundamental_type_info`. We would previously not
honor the `__declspec(dllexport)` on the type information.
llvm-svn: 282980
Matthias Braun [Fri, 30 Sep 2016 23:08:07 +0000 (23:08 +0000)]
ScheduleDAGInstrs: Cleanup, use range based for; NFC
llvm-svn: 282979
Jim Ingham [Fri, 30 Sep 2016 22:55:57 +0000 (22:55 +0000)]
Fix up the test so it gets closer to passing.
Remove the test for thread stopped states from this test.
That isn't set properly now, and its setting doesn't matter till we actually support non-stop debugging, so
we shouldn't have unrelated tests failing from it.
Also changed some code that was trying and failing to grub command line output, and replaced
it by SB API calls.
llvm-svn: 282976
Richard Smith [Fri, 30 Sep 2016 22:41:36 +0000 (22:41 +0000)]
P0035R4: add predefined __STDCPP_DEFAULT_NEW_ALIGNMENT__ macro. By default, we
assume that ::operator new provides no more alignment than is necessary for any
primitive type, except when we're on a GNU OS, where glibc's malloc guarantees
to provide 64-bit alignment on 32-bit systems and 128-bit alignment on 64-bit
systems. This can be controlled by the command-line -fnew-alignment flag.
llvm-svn: 282974
Eric Fiselier [Fri, 30 Sep 2016 22:38:31 +0000 (22:38 +0000)]
[coroutines] Diagnose when 'main' is declared as a coroutine.
Summary: The title says it all.
Reviewers: rsmith, GorNishanov
Subscribers: mehdi_amini, cfe-commits
Differential Revision: https://reviews.llvm.org/D25078
llvm-svn: 282973
Kostya Serebryany [Fri, 30 Sep 2016 22:35:08 +0000 (22:35 +0000)]
[libFuzzer] fix openssl fuzzer tests when running on a machine w/o openssl installed
llvm-svn: 282972
Kostya Serebryany [Fri, 30 Sep 2016 22:29:57 +0000 (22:29 +0000)]
[libFuzzer] remove unused option
llvm-svn: 282971
Jim Ingham [Fri, 30 Sep 2016 22:24:11 +0000 (22:24 +0000)]
Add the radar on our end to the bugreport string.
llvm-svn: 282970
Jim Ingham [Fri, 30 Sep 2016 22:22:09 +0000 (22:22 +0000)]
Add the radar from our end to the bugreport string.
llvm-svn: 282969
Bruno Cardoso Lopes [Fri, 30 Sep 2016 22:19:38 +0000 (22:19 +0000)]
[Sema] Support lax conversions for compound assignments
Support lax convertions on compound assignment expressions like:
typedef __attribute__((vector_size(8))) double float64x1_t;
typedef __attribute__((vector_size(16))) double float64x2_t;
float64x1_t vget_low_f64(float64x2_t __p0);
double c = 3.0;
float64x2_t v = {0.0, 1.0};
c += vget_low_f64(v);
This restores one more valid behavior pre r266366, and is a incremental
follow up from work committed in r274646.
While here, make the check more strict, add FIXMEs, clean up variable
names to match what they can actually be and update testcases to reflect
that. We now reject:
typedef float float2 __attribute__ ((vector_size (8)));
double d;
f2 += d;
which doesn't fit as a direct bitcast anyway.
Differential Revision: https://reviews.llvm.org/D24472
rdar://problem/
28033929
llvm-svn: 282968
Reid Kleckner [Fri, 30 Sep 2016 22:10:12 +0000 (22:10 +0000)]
[SEH] Emit the parent frame offset label even if there are no funclets
This avoids errors about references to undefined local labels from
unreferenced filter functions.
Fixes (sort of) PR30431
llvm-svn: 282967
Jim Ingham [Fri, 30 Sep 2016 22:07:41 +0000 (22:07 +0000)]
IsValid is the way to ask a breakpoint location whether it is valid.
llvm-svn: 282966
Paul Osmialowski [Fri, 30 Sep 2016 22:05:45 +0000 (22:05 +0000)]
[cmake] Fix for a bug https://llvm.org/bugs/show_bug.cgi?id=30489 "Cannot build with -DLIBOMP_FORTRAN_MODULES=True"
Differential Revision: https://reviews.llvm.org/D24959
llvm-svn: 282965
Rui Ueyama [Fri, 30 Sep 2016 22:01:25 +0000 (22:01 +0000)]
Use StringSwtich::Cases for multiple choices.
llvm-svn: 282964
Kostya Serebryany [Fri, 30 Sep 2016 21:57:10 +0000 (21:57 +0000)]
[sanitizer-coverage] fix docs
llvm-svn: 282962
Quentin Colombet [Fri, 30 Sep 2016 21:46:21 +0000 (21:46 +0000)]
[AArch64][RegisterBankInfo] Use the helper functions for the checks
This makes sure the helper functions work as expected.
NFC.
llvm-svn: 282961
Quentin Colombet [Fri, 30 Sep 2016 21:46:19 +0000 (21:46 +0000)]
[AArch64][RegisterBankInfo] Rename getValueMappingIdx to getValueMapping
We don't return index, we return the actual ValueMapping.
NFC.
llvm-svn: 282960
Quentin Colombet [Fri, 30 Sep 2016 21:46:17 +0000 (21:46 +0000)]
[AArch64][RegisterBankInfo] Compress the ValueMapping table a bit.
We don't need to have singleton ValueMapping on their own, we can just
reuse one of the elements of the 3-ops mapping.
This allows even more code sharing.
NFC.
llvm-svn: 282959
Quentin Colombet [Fri, 30 Sep 2016 21:46:15 +0000 (21:46 +0000)]
[AArch64][RegisterBankInfo] Refactor the code to access AArch64::ValMapping
Use a helper function to access ValMapping. This should make the code
easier to understand and maintain.
NFC.
llvm-svn: 282958
Quentin Colombet [Fri, 30 Sep 2016 21:46:12 +0000 (21:46 +0000)]
[AArch64][RegisterBankInfo] Rename getRegBankIdx to getRegBankIdxOffset
The function name did not make it clear that the returned value was an
offset to apply to a register bank index.
NFC.
llvm-svn: 282957
Quentin Colombet [Fri, 30 Sep 2016 21:45:56 +0000 (21:45 +0000)]
[AArch64][RegisterBankInfo] Use the static opds mapping for alt mappings
Avoid to rely on the dynamically allocated operands mapping for the
alternative mapping.
NFC.
llvm-svn: 282956
Kostya Serebryany [Fri, 30 Sep 2016 21:12:30 +0000 (21:12 +0000)]
[libFuzzer] move common parts of shell scripts into a separate file
llvm-svn: 282954
Mike Aizatsky [Fri, 30 Sep 2016 21:07:04 +0000 (21:07 +0000)]
[libfuzzer] sancov documentation update
llvm-svn: 282953
Piotr Padlewski [Fri, 30 Sep 2016 21:05:55 +0000 (21:05 +0000)]
NFC Add const
llvm-svn: 282952
Piotr Padlewski [Fri, 30 Sep 2016 21:05:52 +0000 (21:05 +0000)]
NFC fix class members initialization
llvm-svn: 282951
Piotr Padlewski [Fri, 30 Sep 2016 21:05:49 +0000 (21:05 +0000)]
NFC fix doxygen comments
llvm-svn: 282950
Alexander Shaposhnikov [Fri, 30 Sep 2016 21:05:45 +0000 (21:05 +0000)]
Add missing std::move in Replacements::add
This diff adds std::move to avoid copying of
the Replacement NewR in the method Replacements::add.
Test plan: make -j8 check-all
Differential revision: https://reviews.llvm.org/D25049
llvm-svn: 282949
Mike Aizatsky [Fri, 30 Sep 2016 21:02:56 +0000 (21:02 +0000)]
[sancov] -symbolize documentation update
llvm-svn: 282948
Jonathan Peyton [Fri, 30 Sep 2016 20:56:44 +0000 (20:56 +0000)]
Insert missing checks for KMP_AFFINITY_CAPABLE() in affinity API.
If affinity is not capable, then these API functions will perform the stubs
version.
llvm-svn: 282947
Rui Ueyama [Fri, 30 Sep 2016 20:53:45 +0000 (20:53 +0000)]
Change for LLVM upstream change r282944.
llvm-svn: 282945
Rui Ueyama [Fri, 30 Sep 2016 20:52:12 +0000 (20:52 +0000)]
Do not pass a superblock to PDBFileBuilder.
When we create a PDB file using PDBFileBuilder, the information
in the superblock, such as the size of the resulting file, is not
available.
Previously, PDBFileBuilder::initialize took a superblock assuming
that all the members of the struct are correct. That is useful when
you want to restore the exact information from a YAML file, but
that's probably the only use case in which that is useful.
When we are creating a PDB file on the fly, we have to backfill the
members.
This patch redefines PDBFileBuilder::initialize to take only a
block size. Now all the other members are left as default values,
so that they'll be updated when commit() is called.
Differential Revision: https://reviews.llvm.org/D25108
llvm-svn: 282944
Sean Callanan [Fri, 30 Sep 2016 20:46:09 +0000 (20:46 +0000)]
Adding ivars in class extensions isn't supported on i386; skip a test.
llvm-svn: 282943
Rui Ueyama [Fri, 30 Sep 2016 20:39:04 +0000 (20:39 +0000)]
Change for LLVM change r282940.
llvm-svn: 282942
Dawn Perchik [Fri, 30 Sep 2016 20:38:33 +0000 (20:38 +0000)]
Fix comment - Module::PrepareForFunctionNameLookup should be Module::LookupInfo::LookupInfo.
llvm-svn: 282941
Rui Ueyama [Fri, 30 Sep 2016 20:34:44 +0000 (20:34 +0000)]
Pass a filename instead of a msf::WritableStream to PDBFileBuilder::commit.
WritableStream needs the exact file size to open a file, but
until we fix the final layout of a PDB file, we don't know the
size of the file.
This patch changes the parameter type of PDBFileBuilder::commit
to solve that chiecken-and-egg problem. Now the function opens
a file after fixing the layout, so it can create a file with the
exact size.
Differential Revision: https://reviews.llvm.org/D25107
llvm-svn: 282940
Joerg Sonnenberger [Fri, 30 Sep 2016 20:34:02 +0000 (20:34 +0000)]
Sort LLVM_VERSION_INFO
llvm-svn: 282939
Joerg Sonnenberger [Fri, 30 Sep 2016 20:32:42 +0000 (20:32 +0000)]
GC left-over from workarounds for missing pid_t and size_t
llvm-svn: 282938
Joerg Sonnenberger [Fri, 30 Sep 2016 20:30:25 +0000 (20:30 +0000)]
GC ENABLE_PIC
llvm-svn: 282936
Joerg Sonnenberger [Fri, 30 Sep 2016 20:29:19 +0000 (20:29 +0000)]
GC HAVE___DSO_HANDLE
llvm-svn: 282935
Joerg Sonnenberger [Fri, 30 Sep 2016 20:28:42 +0000 (20:28 +0000)]
Correctly expand HOST_LINK_VERSION.
llvm-svn: 282934
Joerg Sonnenberger [Fri, 30 Sep 2016 20:27:41 +0000 (20:27 +0000)]
Fix expansion of HAVE_SYS_MMAN_H
llvm-svn: 282933
Joerg Sonnenberger [Fri, 30 Sep 2016 20:26:31 +0000 (20:26 +0000)]
GC HAVE_LINK_EXPORT_DYNAMIC.
llvm-svn: 282932
Joerg Sonnenberger [Fri, 30 Sep 2016 20:24:54 +0000 (20:24 +0000)]
GC HAVE_MMAP and HAVE_MMAP_FILE
llvm-svn: 282931
Joerg Sonnenberger [Fri, 30 Sep 2016 20:24:21 +0000 (20:24 +0000)]
Spell comment consistently with other library comments.
llvm-svn: 282930
Joerg Sonnenberger [Fri, 30 Sep 2016 20:21:35 +0000 (20:21 +0000)]
Sort LINK_POLLY_INTO_TOOLS.
llvm-svn: 282929
Joerg Sonnenberger [Fri, 30 Sep 2016 20:19:02 +0000 (20:19 +0000)]
GC STDC_HEADERS.
llvm-svn: 282928
Justin Lebar [Fri, 30 Sep 2016 20:17:37 +0000 (20:17 +0000)]
[CUDA] Fix implicit-device-lambda.cu after r282911.
This commit added a warning that we're (correctly) hitting in this test.
Just ignore it.
llvm-svn: 282927
Rui Ueyama [Fri, 30 Sep 2016 20:17:26 +0000 (20:17 +0000)]
Removed a test that should've been removed with r282916.
llvm-svn: 282926
Joerg Sonnenberger [Fri, 30 Sep 2016 20:17:23 +0000 (20:17 +0000)]
Deal with the (historic) MAP_ANONYMOUS vs MAP_ANON directly by using CPP
to check for the former, don't depend on (dangling) HAVE_MMAP_ANONYMOUS.
llvm-svn: 282925
Joerg Sonnenberger [Fri, 30 Sep 2016 20:16:01 +0000 (20:16 +0000)]
Retire NEED_DEV_ZERO_FOR_MMAP. It should be needed only on outdated
systems. It wasn't even hooked up in cmake, so problems on such systems
would be visible with 3.9 release already.
llvm-svn: 282924
Joerg Sonnenberger [Fri, 30 Sep 2016 20:11:21 +0000 (20:11 +0000)]
HAVE_LINK_R is not the only reason why this needs config.h.
llvm-svn: 282923
Joerg Sonnenberger [Fri, 30 Sep 2016 20:09:45 +0000 (20:09 +0000)]
GC HAVE_LIBDL, HAVE_LIBM and HAVE_LIBOLE32
llvm-svn: 282922
Joerg Sonnenberger [Fri, 30 Sep 2016 20:08:36 +0000 (20:08 +0000)]
Sort HAVE_LIBEDIT.
llvm-svn: 282921
Hans Wennborg [Fri, 30 Sep 2016 20:07:35 +0000 (20:07 +0000)]
X86: Allow conditional tail calls in Win64 "leaf" functions (PR26302)
We can't use Jcc to leave a Win64 function in general, because that
confuses the unwinder. However, for "leaf" functions, that is, functions
where the return address is always on top of the stack and which don't
have unwind info, it's OK.
Differential Revision: https://reviews.llvm.org/D24836
llvm-svn: 282920
Joerg Sonnenberger [Fri, 30 Sep 2016 20:06:19 +0000 (20:06 +0000)]
Turn ENABLE_CRASH_OVERRIDES into a 0/1 definition.
llvm-svn: 282919