- Nov 12, 2016
-
-
Anna Zaks authored
Differential Revision: https://reviews.llvm.org/D26228 llvm-svn: 286693
-
Zachary Turner authored
llvm-svn: 286692
-
Zachary Turner authored
llvm-svn: 286691
-
Zachary Turner authored
llvm-svn: 286690
-
Kostya Serebryany authored
llvm-svn: 286689
-
Rui Ueyama authored
llvm-svn: 286688
-
Tom Stellard authored
Summary: This fixes a regression caused by r286464. Reviewers: arsenm Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, llvm-commits, tony-tye Differential Revision: https://reviews.llvm.org/D26570 llvm-svn: 286687
-
Zachary Turner authored
llvm-svn: 286686
-
Richard Smith authored
llvm-svn: 286685
-
Rui Ueyama authored
Differential Revision: https://reviews.llvm.org/D26211 llvm-svn: 286684
-
Zachary Turner authored
llvm-svn: 286683
-
Zachary Turner authored
This introduces a new type-safe general purpose formatting library. It provides compile-time type safety, does not require a format specifier (since the type is deduced), and provides mechanisms for extending the format capability to user defined types, and overriding the formatting behavior for existing types. This patch additionally adds documentation for the API to the LLVM programmer's manual. Mailing List Thread: http://lists.llvm.org/pipermail/llvm-dev/2016-October/105836.html Differential Revision: https://reviews.llvm.org/D25587 llvm-svn: 286682
-
Richard Smith authored
llvm-svn: 286681
-
Argyrios Kyrtzidis authored
This better reflects what it represents. llvm-svn: 286680
-
Richard Smith authored
llvm-svn: 286679
-
Richard Smith authored
support constexpr char_traits. llvm-svn: 286678
-
Rui Ueyama authored
This patch defines a new function to add a SectionContribs stream to a PDB file. Unlike SectionMap, SectionContribs contains a list of input sections as opposed to output sections. Note that this patch needs improving because currently we do not set Module field in SectionContribs entries. In a follow-up patch, I'll add Modules and then fix it after that. Differential Revision: https://reviews.llvm.org/D26210 llvm-svn: 286677
-
Tom Stellard authored
Summary: This pass was assuming that when a PHI instruction defined a register used by another PHI instruction that the defining insstruction would be legalized before the using instruction. This assumption was causing the pass to not legalize some PHI nodes within divergent flow-control. This fixes a bug that was uncovered by r285762. Reviewers: nhaehnle, arsenm Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, tony-tye, llvm-commits Differential Revision: https://reviews.llvm.org/D26303 llvm-svn: 286676
-
Richard Trieu authored
When providing the project directory to the merge script, print it out in the commit instructions instead of the default project directory. llvm-svn: 286675
-
Evgeniy Stepanov authored
llvm-svn: 286674
-
Reid Kleckner authored
llvm-svn: 286673
-
Anna Zaks authored
This introduces a function annotation that disables TSan checking for the function at run time. The benefit over attribute((no_sanitize("thread"))) is that the accesses within the callees will also be suppressed. The motivation for this attribute is a guarantee given by the objective C language that the calls to the reference count decrement and object deallocation will be synchronized. To model this properly, we would need to intercept all ref count decrement calls (which are very common in ObjC due to use of ARC) and also every single message send. Instead, we propose to just ignore all accesses made from within dealloc at run time. The main downside is that this still does not introduce any synchronization, which means we might still report false positives if the code that relies on this synchronization is not executed from within dealloc. However, we have not seen this in practice so far and think these cases will be very rare. (This problem is similar in nature to https://reviews.llvm.org/D21609; unfortunately, the same solution does not apply here.) Differential Revision: https://reviews.llvm.org/D25857 llvm-svn: 286672 -
Sanjay Patel authored
Follow-up to r286664 cleanup as suggested by Eli. Thanks! llvm-svn: 286671
-
Evgeniy Stepanov authored
Summary: Unit tests for the new clang flags. Reviewers: eugenis, dvyukov Subscribers: kubabrecka, llvm-commits Patch by Alex Shlyapnikov. Differential Revision: https://reviews.llvm.org/D26462 llvm-svn: 286670
-
Evgeniy Stepanov authored
Summary: New clang flags, all default to true: -f[no-]sanitize-thread-data-races -f[no-]sanitize-thread-stack-traces -f[no-]sanitize-thread-atomics Reviewers: dvyukov, pcc, eugenis Subscribers: pcc, cfe-commits Patch by Alex Shlyapnikov. Differential Revision: https://reviews.llvm.org/D26461 llvm-svn: 286669
-
Sanjay Patel authored
llvm-svn: 286668
-
Rafael Espindola authored
llvm-svn: 286666
-
Kostya Serebryany authored
[libFuzzer] do not initialize parts of TracePC -- let them be initialized by the linker. Add no-msan attribute to the memcmp hook. llvm-svn: 286665
-
Sanjay Patel authored
llvm-svn: 286664
-
Anna Zaks authored
This implements a function annotation that disables TSan checking for the function at run time. The benefit over attribute((no_sanitize("thread"))) is that the accesses within the callees will also be suppressed. The motivation for this attribute is a guarantee given by the objective C language that the calls to the reference count decrement and object deallocation will be synchronized. To model this properly, we would need to intercept all ref count decrement calls (which are very common in ObjC due to use of ARC) and also every single message send. Instead, we propose to just ignore all accesses made from within dealloc at run time. The main downside is that this still does not introduce any synchronization, which means we might still report false positives if the code that relies on this synchronization is not executed from within dealloc. However, we have not seen this in practice so far and think these cases will be very rare. Differential Revision: https://reviews.llvm.org/D25858 llvm-svn: 286663 -
Adam Nemet authored
This is PR28376. Unfortunately given the current structure of optimization diagnostics we lack the capability to tell whether the user has passed -Rpass-analysis=loop-vectorize since this is local to the front-end (BackendConsumer::OptimizationRemarkHandler). So rather than printing this even if the user has already passed -Rpass-analysis, this patch just punts and stops recommending this option. I don't think that getting this right is worth the complexity. Differential Revision: https://reviews.llvm.org/D26563 llvm-svn: 286662
-
Lang Hames authored
This is a temporary fix: The right solution is to make sure addHandler can support mutable lambdas. I'll add that in a follow-up patch. llvm-svn: 286661
-
Richard Smith authored
llvm-svn: 286660
-
Rafael Espindola authored
Unlike gold, bfd, gas or MC we were putting exidx sections first since they are ro. The spec doesn't explicitly say that they must come after, but it is definitely more convenient for the consumer, matches other producers and matches other areas in ELF (like SHT_GROUP) where sections are ordered in a natural way. llvm-svn: 286659
-
Anna Zaks authored
This patch is needed to implement the function attribute that disable TSan checking at run time. Differential Revision: https://reviews.llvm.org/D25859 llvm-svn: 286658
-
Rui Ueyama authored
llvm-svn: 286657
-
Matthias Braun authored
Revert accidentally committed change. This reverts commit r286655. llvm-svn: 286656
-
Matthias Braun authored
The DAG mutators in the scheduler cannot really remove DAG nodes as additional anlysis information such as ScheduleDAGToplogicalSort are already computed at this point and rely on a fixed number of DAG nodes. Alleviate the missing removal with a new flag: Setting the new skip flag on a node ignores it during scheduling. llvm-svn: 286655
-
Matthias Braun authored
Push VRegUses/collectVRegUses() down the class hierarchy towards its only user ScheduleDAGMILive. NFCI: The initialization of the map happens at a later point but that should not matter. This is in preparation to allow DAG mutators to merge nodes, which relies on this map getting computed later. llvm-svn: 286654
-
Matthias Braun authored
llvm-svn: 286653
-