- Aug 19, 2015
-
-
Richard Smith authored
llvm-svn: 245391
-
Richard Smith authored
[modules] Fix HeaderFileInfo serialization to store all the known owning modules for a header, not just the current favourite. llvm-svn: 245390
-
Eric Fiselier authored
Summary: This patch attempts to fix the last 3 TSAN failures on the libc++ bot (http://lab.llvm.org:8011/builders/libcxx-libcxxabi-x86_64-linux-ubuntu-tsan/builds/143). This patch also adds a `Atomic` test type that can be used where `<atomic>` cannot. `wait.exception.pass.cpp` and `wait_for.exception.pass.cpp` were failing because the test replaced `std::terminate` with `std::exit`. `std::exit` would asynchronously run the TLS and static destructors and this would cause a race condition. See PR22606 and D8802 for more details. This is fixed by using `_Exit` to prevent cleanup. `notify_all_at_thread_exit.pass.cpp` exercises the same race condition but for different reasons. I fixed this test by manually joining the thread before beginning program termination. Reviewers: EricWF, mclow.lists Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D11046 llvm-svn: 245389
-
Steve King authored
llvm-svn: 245385
-
Alex Lorenz authored
llvm-svn: 245384
-
Alex Lorenz authored
This commit adds support for bit mask target flag serialization to the MIR printer and the MIR parser. It also adds support for the machine operand's target flag serialization to the AArch64 target. Reviewers: Duncan P. N. Exon Smith llvm-svn: 245383
-
Sanjay Patel authored
This consolidates use of isUnalignedMem32Slow() in one place. There is a slight change in logic although I'm not sure that it would ever come up in the real world: we were assuming that an alignment of the type size is always fast; now, we actually check the data layout to confirm that. llvm-svn: 245382
-
Paul Herman authored
llvm-svn: 245381
-
Paul Herman authored
llvm-svn: 245380
-
Nick Lewycky authored
llvm-svn: 245379
-
David Blaikie authored
llvm-svn: 245378
-
Reid Kleckner authored
ASan uses GetProcAddress to get the address of malloc so it can patch it. Newer versions of Windows make GetProcAddress initialize the DLL before returning a function pointer into it. That's perfectly reasonable, but ASan needs to finish patching malloc before CRT initialization. So now we roll our own GetProcAddress. Fixes PR24237 Based on a patch by David Major Originally written by David Major as part of: https://hg.mozilla.org/mozilla-central/file/tip/toolkit/xre/WindowsCrtPatch.h llvm-svn: 245377
-
Greg Clayton authored
llvm-svn: 245376
-
Greg Clayton authored
llvm-svn: 245375
-
Peter Collingbourne authored
Remove support for Valgrind-based TSan, which hasn't been maintained for a few years. We now use the TSan annotations only if LLVM is compiled with -fsanitize=thread. We no longer need the weak function definitions as we are guaranteed that our program is linked directly with the TSan runtime. Differential Revision: http://reviews.llvm.org/D12121 llvm-svn: 245374
-
Greg Clayton authored
llvm-svn: 245373
-
Alex Lorenz authored
llvm-svn: 245372
-
Zachary Turner authored
Whether or not frames print their tid in hex or decimal is apparently hardcoded to depend on the operating system. For now a comment was added that this should be changed to a more sane check (for example a setting), and the OS check is updated to do the right thing for Windows. llvm-svn: 245371
-
Alex Lorenz authored
method. This commit extracts the code that parses the stack object references into a new method named 'parseStackFrameIndex', so that it can be reused when parsing standalone stack object references. llvm-svn: 245370
-
David Majnemer authored
No functionality change is intended. llvm-svn: 245369
-
David Blaikie authored
llvm-svn: 245368
-
David Blaikie authored
Wdeprecated: Support movability of EHScopeStack::Cleanup objects as they are move constructed in ConditionalCleanup::restore llvm-svn: 245367
-
David Majnemer authored
It isn't always possible to get a value from getAggregateElement. This fixes PR24488. llvm-svn: 245365
-
David Majnemer authored
No funcitonal change is intended, this just makes the file look more like the rest of LLVM. llvm-svn: 245364
-
Alexey Samsonov authored
llvm-svn: 245363
-
Alexey Samsonov authored
llvm-svn: 245362
-
Richard Smith authored
llvm-svn: 245361
-
Joerg Sonnenberger authored
To properly handle this, define the *a instructions as separate instruction classes by refactoring the LoadA and StoreA multiclasses. Move the instruction tests into the sparcv9 file to test the difference. llvm-svn: 245360
-
Chris Bieneman authored
Thanks for the catch Hal! llvm-svn: 245359
-
Simon Pilgrim authored
llvm-svn: 245358
-
Oleksiy Vyalov authored
http://reviews.llvm.org/D11962 llvm-svn: 245357
-
Hans Wennborg authored
llvm-svn: 245355
-
Eric Fiselier authored
llvm-svn: 245354
-
Michael Kruse authored
This test was written to check the workings of IndependentBlocks on arrays which doesn't do such transformations anymore. The test itself is still useful to check that the region is rejected as SCoP. llvm-svn: 245353
-
David Blaikie authored
llvm-svn: 245352
-
Simon Pilgrim authored
llvm-svn: 245351
-
Matthias Braun authored
The current code normalizes select(C0, x, select(C1, x, y)) towards select(C0|C1, x, y) if the targets prefers that form. This patch adds an additional rule that if the select(C1, x, y) part already exists in the function then we want to normalize into the other direction because the effects of reusing the existing value are bigger than transforming into the target preferred form. This addresses regressions following r238793, see also: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150727/290272.html Differential Revision: http://reviews.llvm.org/D11616 llvm-svn: 245350
-
Matthias Braun authored
This is part of http://reviews.llvm.org/D11616 - I just decided to split this up into a separate commit. llvm-svn: 245349
-
Simon Pilgrim authored
llvm-svn: 245348
-
Richard Smith authored
ASTContext. Fixes some cases where we could previously initialize the AST consumer more than once. llvm-svn: 245346
-