- Sep 11, 2014
-
-
Daniel Sanders authored
Summary: They were used in the 'Module Structure' example but weren't otherwise documented. Credit to Reed Kotler for noticing. Reviewers: hans Reviewed By: hans Subscribers: hans, llvm-commits Differential Revision: http://reviews.llvm.org/D5191 llvm-svn: 217583
-
Tilmann Scheller authored
llvm-svn: 217582
-
Tilmann Scheller authored
llvm-svn: 217581
-
Arnaud A. de Grandmaison authored
David Blaikie's commits r217563 & r217564, which added shared_ptr to the CostPool have fixed some memory leak issues exposed by the PBQP with coalescing constraints. The sanitizer bot was failing because of those leaks. Now that the leaks are gone, we can reenable the aarch64/pbqp test. llvm-svn: 217580
-
Tilmann Scheller authored
llvm-svn: 217579
-
Tim Northover authored
llvm-svn: 217578
-
Tim Northover authored
The provided base must also be a multiple of the system's page size, which is a reasonable enough demand. Also check the other diagnostics more thoroughly. llvm-svn: 217577
-
Tilmann Scheller authored
llvm-svn: 217576
-
Chandler Carruth authored
name that breaks on some platforms. This part of the test just doesn't matter... llvm-svn: 217575
-
Hal Finkel authored
We used to crash processing any relevant @llvm.assume on a 32-bit target (because we'd ask SE to subtract expressions of differing types). I've copied our 'simple.ll' test, but with the data layout from arm-linux-gnueabihf to get some meaningful test coverage here. llvm-svn: 217574
-
Alexander Musman authored
llvm-svn: 217573
-
Tim Northover authored
Because NO LINKER MAY CHANGE. EVER. Even if it's a complete rewrite from scratch. llvm-svn: 217572
-
David Xu authored
llvm-svn: 217570
-
Justin Bogner authored
llvm-svn: 217569
-
Rui Ueyama authored
The dangling "else" at the end of #if looked a bit error-prone. Make it a separate function. No functionality change. llvm-svn: 217568
-
Justin Bogner authored
llvm-svn: 217567
-
Nick Kledzik authored
The existing system linkers on Darwin and Linux are called "ld". We'd like to eventually drop in lld as "ld" and have it just work. But lld is a universal linker that requires the first option to be -flavor to know which command line mode to emulate (gnu or darwin). This change tests if argv[0] is "ld" and if so, if the tool was built on MacOSX then assume the darwin flavor otherwise the gnu flavor. There are two test cases which copy lld to "ld" and then run it. One for darwin and one for linux. llvm-svn: 217566
-
Chandler Carruth authored
llvm-svn: 217565
-
David Blaikie authored
Cleanup to 217563 suggested by Lang Hames in post-commit review. llvm-svn: 217564
-
David Blaikie authored
Leveraging both intrusive shared_ptr-ing (std::enable_shared_from_this) and shared_ptr<T>-owning-U (to allow external users to hold std::shared_ptr<CostT> while keeping the underlying PoolEntry alive). The intrusiveness could be removed if we had a weak_set that implicitly removed items from the set when their underlying data went away. This /might/ fix an existing memory leak reported by LeakSanitizer in r217504. llvm-svn: 217563
-
Matt Arsenault authored
The lost chain resulting in earlier side effecting nodes being deleted. llvm-svn: 217561
-
Matt Arsenault authored
Need to convert the 64 element offset into bytes, not just the element size like the normal case instructions. Noticed by inspection. This can't be hit now because st64 instructions aren't emitted during instruction selection, and the post-RA scheduler isn't enabled. llvm-svn: 217560
-
Alexey Samsonov authored
llvm-svn: 217559
-
Alexey Samsonov authored
We may as well just use Symbolizer::GetOrInit() in all the cases. Don't call Symbolizer::Get() early in tools initialization: these days it doesn't do any important setup work, and we may as well create the symbolizer the first time it's actually needed. llvm-svn: 217558
-
Peter Collingbourne authored
llvm-svn: 217557
-
DeLesley Hutchins authored
Numerous changes, including: * Changed the way variables and instructions are handled in basic blocks to be more efficient. * Eliminated SExprRef. * Simplified futures. * Fixed documentation. * Compute dominator and post dominator trees. llvm-svn: 217556
-
Fariborz Jahanian authored
llvm-svn: 217555
-
- Sep 10, 2014
-
-
Matt Arsenault authored
llvm-svn: 217553
-
Ben Langmuir authored
I forgot to fix these again the second time I copy-and-pasted. llvm-svn: 217552
-
Jim Ingham authored
locations with new ones if possible. Next up some test cases... llvm-svn: 217551
-
Ben Langmuir authored
1. We were hitting the NextIsPrevious assertion because we were trying to merge decl chains that were independent of each other because we had no Sema object to allow them to find existing decls. This is fixed by delaying loading the "preloaded" decls until Sema is available. 2. We were trying to get identifier info from an annotation token, which asserts. The fix is to special-case the module annotations in the preprocessed output printer. Fixed in a single commit because when you hit 1 you almost invariably hit 2 as well. llvm-svn: 217550
-
Todd Fiala authored
This change implements this ticket: http://llvm.org/bugs/show_bug.cgi?id=20899 Adds the qThreadStopInfo RSP command for llgs and includes a test that verifies both debugserver and llgs respond with something reasonable on a multithreaded app. llvm-svn: 217549
-
Rafael Espindola authored
With this a DataLayoutPass can be reused for multiple modules. Once we have doInitialization/doFinalization, it doesn't seem necessary to pass a Module to the constructor. Overall this change seems in line with the idea of making DataLayout a required part of Module. With it the only way of having a DataLayout used is to add it to the Module. llvm-svn: 217548
-
Rafael Espindola authored
llvm-svn: 217547
-
Joerg Sonnenberger authored
actually different. Fixes a surprising link error with nodejs on rpi, where armv6-netbsd-eabihf turned into armv5e-netbsd-eabihf, which doesn't lacks the necessary VFP support. llvm-svn: 217546
-
Hal Finkel authored
Clang/LLVM trunk now have support for __builtin_assume_aligned, turn this && into an || so we can use it ourselves. llvm-svn: 217545
-
Hal Finkel authored
The routine that determines an alignment given some SCEV returns zero if the answer is unknown. In a case where we could determine the increment of an AddRec but not the starting alignment, we would compute the integer modulus by zero (which is illegal and traps). Prevent this by returning early if either the start or increment alignment is unknown (zero). llvm-svn: 217544
-
Fariborz Jahanian authored
dictionary literals since the API which implements them accepts it too. // rdar://18254621 llvm-svn: 217543
-
Alexey Samsonov authored
FIx a problem reported by Jakub Jelinek: don't do early-exit from fatal UBSan handlers: even if source location is disabled (i.e. acquired by some other thread), we should continue the execution to make sure that: a) some thread will print the error report before calling Die(). b) handler marked as noreturn will indeed not return. Explicitly add "Die()" calls at the end of all fatal handlers to be sure UBSan handlers don't introduce UB themselves. llvm-svn: 217542
-
Dan Liew authored
Fix sphinx warning introduced by r217537 llvm-svn: 217541
-