- Jul 22, 2016
-
-
Craig Topper authored
llvm-svn: 276393
-
Craig Topper authored
llvm-svn: 276392
-
Craig Topper authored
llvm-svn: 276391
-
Craig Topper authored
llvm-svn: 276390
-
David Majnemer authored
Just because we can constant fold the result of an instruction does not imply that we can delete the instruction. It may have side effects. This fixes PR28655. llvm-svn: 276389
-
Xinliang David Li authored
llvm-svn: 276388
-
Xinliang David Li authored
llvm-svn: 276387
-
Xinliang David Li authored
llvm-svn: 276386
-
Xinliang David Li authored
llvm-svn: 276385
-
Davide Italiano authored
Differential Revision: https://reviews.llvm.org/D22660 llvm-svn: 276384
-
Kostya Serebryany authored
llvm-svn: 276383
-
Pete Cooper authored
This was a mistake in the layout of the code from r276380. I moved the appropriate lines out of the #ifdef to fix it. llvm-svn: 276382
-
Vitaly Buka authored
llvm-svn: 276381
-
Pete Cooper authored
This change adds a hasFileAtIndex method. getChildDeclContext can first call this method, and if it returns true it knows it can then lookup the resolved path cache for the given file index. If we hit that cache then we don't even have to call getFileNameByIndex. Running dsymutil against the swift executable built from github gives a 20% performance improvement without any change in the binary. Differential Revision: https://reviews.llvm.org/D22655 Reviewed by friss. llvm-svn: 276380
-
Kostya Serebryany authored
[asan] revert to using -std=c++11 on test/asan/TestCases/use-after-scope-capture.cc to fix Linux failures after r276332. This probably breaks the windows build, sorry, but returns to the earlier status quo. llvm-svn: 276379
-
Vitaly Buka authored
llvm-svn: 276378
-
Kostya Serebryany authored
[sanitizer] allocator: introduce kUseSeparateSizeClassForBatch (false by default). When true, it will cause all TransferBatches to be allocated on a separate dedicated size class, which improves security and may potentially simplify memory reclamation. However in the current state this may cause up to 3% extra memory usage. Subsequent changes should bring this overhead down llvm-svn: 276377
-
Vitaly Buka authored
llvm-svn: 276376
-
Vitaly Buka authored
Summary: Test for D22657 PR27453 Reviewers: kcc, eugenis Subscribers: kubabrecka Differential Revision: https://reviews.llvm.org/D22658 llvm-svn: 276375
-
Vitaly Buka authored
Summary: Clang inserts GetElementPtrInst so findAllocaForValue was not able to find allocas. PR27453 Reviewers: kcc, eugenis Differential Revision: https://reviews.llvm.org/D22657 llvm-svn: 276374
-
Sanjoy Das authored
llvm-svn: 276373
-
Sanjoy Das authored
If `-irce-skip-profitability-checks` is passed in, IRCE will kick in in all cases where it is legal for it to kick in. This flag is intended to help diagnose and analyse performance issues. llvm-svn: 276372
-
Eugene Zelenko authored
Differential revision: https://reviews.llvm.org/D22605 llvm-svn: 276371
-
Vedant Kumar authored
The builder prints out the following IR: \5CCoverageMapping\5COutput\5Ctest\5Cf1.c The updated test in r276367 expects path separators to be either '/' or '\\', so it chokes on the unexpected "5C" stuff. I'm not sure what that is, but I included a kludge that should work around it. Failing bot: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/8718 llvm-svn: 276370
-
Jason Molenda authored
debugserver jGetSharedCacheInfo packet instead of reading the dyld internal data structures directly. This code is (currently) only used for ios native lldb's - I should really move this ObjectFileMachO::GetProcessSharedCacheUUID method somewhere else, it makes less and less sense being in the file reader. <rdar://problem/25251243> llvm-svn: 276369
-
Sebastian Pop authored
llvm-svn: 276368
-
Vedant Kumar authored
We should be able to use `mkdir` without turning on `REQUIRES: shell`. Moreover, this test should check for a path separator which precedes the relative filename to make sure that absolute paths are being used. llvm-svn: 276367
-
David Majnemer authored
Use the machinery in MathExtras instead of rolling it by hand. This fixes PR28624. llvm-svn: 276366
-
Devin Coughlin authored
This checker checks copy and move assignment operators whether they are protected against self-assignment. Since C++ core guidelines discourages explicit checking for `&rhs==this` in general we take a different approach: in top-frame analysis we branch the exploded graph for two cases, where &rhs==this and &rhs!=this and let existing checkers (e.g. unix.Malloc) do the rest of the work. It is important that we check all copy and move assignment operator in top frame even if we checked them already since self-assignments may happen undetected even in the same translation unit (e.g. using random indices for an array what may or may not be the same). This reapplies r275820 after fixing a string-lifetime issue discovered by the bots. A patch by Ádám Balogh! Differential Revision: https://reviews.llvm.org/D19311 llvm-svn: 276365
-
Sebastian Pop authored
llvm-svn: 276364
-
Vedant Kumar authored
Check that stylesheets work when we're not using -output-dir. llvm-svn: 276363
-
Douglas Katzman authored
llvm-svn: 276362
-
Wolfgang Pieb authored
When empty (forwarding) basic blocks that are referenced by user labels are removed, incorrect code may be generated. llvm-svn: 276361
-
Sanjay Patel authored
Almost all of these folds require changes to allow vector types. Splitting up the logic should make that easier to do incrementally. llvm-svn: 276360
-
Vedant Kumar authored
This makes it easy to swap out the default stylesheet for a custom one. It also shaves ~6.62 MB out of the report directory for a full coverage build of llvm+clang. While we're at it, prune the CSS and add tests for it. llvm-svn: 276359
-
Sebastian Pop authored
Do not clone stored values unless they are GEPs that are special cased to avoid hoisting them without hoisting their associated ld/st. Differential revision: https://reviews.llvm.org/D22652 llvm-svn: 276358
-
Daniel Dunbar authored
- This allows tools like emacs to automatically find the config file path when you step through errors. - Patch by Dave Abrahams. llvm-svn: 276357
-
Xinliang David Li authored
See http://reviews.llvm.org/D22613, http://reviews.llvm.org/D22614 llvm-svn: 276356
-
Xinliang David Li authored
This eliminates unncessary calls and init functions. Differential Revision: http://reviews.llvm.org/D22614 llvm-svn: 276355
-
Xinliang David Li authored
This eliminates unncessary calls and init functions. Differential Revision: http://reviews.llvm.org/D22613 llvm-svn: 276354
-