- Sep 17, 2015
-
-
Aaron Ballman authored
Refactors AST matching code to use the new AST matcher names. This patch correlates to r247885 which performs the AST matcher rename in Clang. llvm-svn: 247886
-
Aaron Ballman authored
Rename AST node matchers to match the AST node names directly. Part of this rename also splits recordDecl() (which used to match CXXRecordDecl) into recordDecl() (that matches RecordDecl) and cxxRecordDecl (that matches CXXRecordDecl). Also adds isStruct(), isUnion(), and isClass() narrowing matchers for RecordDecl objects. llvm-svn: 247885
-
Chad Rosier authored
llvm-svn: 247884
-
Asaf Badouh authored
llvm-svn: 247883
-
NAKAMURA Takumi authored
llvm-svn: 247882
-
Asaf Badouh authored
convert i64 to FP and vice versa reduceps & reducepd rangeps & rangepd all in their 512bit versions Differential Revision: http://reviews.llvm.org/D11716 llvm-svn: 247881
-
Zoran Jovanovic authored
Differential Revision: http://reviews.llvm.org/D9658 llvm-svn: 247880
-
Tamas Berghammer authored
Android-aarch64 for API21 uses sa_restore to return from a signal handler what have no eh_frame specified. llvm-svn: 247879
-
Denis Protivensky authored
llvm-svn: 247878
-
Pavel Labath authored
llvm-svn: 247877
-
Elena Demikhovsky authored
AVX-512 does not provide an instruction that shuffles mask register. So I do the following way: mask-2-simd , shuffle simd , simd-2-mask Differential Revision: http://reviews.llvm.org/D12727 llvm-svn: 247876
-
Enrico Granata authored
llvm-svn: 247875
-
Diego Novillo authored
This adds enough machinery to support reading simple GCC AutoFDO profiles. It now supports reading flat profiles (no function calls). Subsequent patches will add support for: - Inlined calls (in particular, the inline call stack is not traversed to accumulate samples). - Working sets and modules. These are used mostly for GCC's LIPO optimizations, so they're not needed in LLVM atm. I'm not sure that we will ever need them. For now, I've if0'd around the calls. The patch also adds support in GCOV.h for gcov version V704 (generated by GCC's profile conversion tool). llvm-svn: 247874
-
Diego Novillo authored
After reading the profile, check if the reader returned any errors before showing the profile. llvm-svn: 247873
-
Enrico Granata authored
What that does is it restricts formatters in those categories to only match to types coming from "compatible" source languages llvm-svn: 247872
-
Naomi Musgrave authored
Summary: Describe the compile and runtime flags to enable MemorySanitizer detection of use-after-destroy. Reviewers: eugenis Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12914 Revise doc description of use-after-dtor. Change wording to specify memory no longer readable. llvm-svn: 247871
-
Hans Wennborg authored
llvm-svn: 247870
-
Rui Ueyama authored
Basically the concept of "liveness" is for sections (or chunks in LLD terminology) and not for symbols. Symbols are always available or live, or otherwise it indicates a link failure. Previously, we had isLive() and markLive() methods for DefinedSymbol. They are confusing methods. What they actually did is to act as a proxy to backing section chunks. We can simplify eliminate these methods and call section chunk's methods directly. llvm-svn: 247869
-
Rui Ueyama authored
llvm-svn: 247868
-
Naomi Musgrave authored
Summary: For loop destroyed current instance before invoking next. Temporary variable added to prevent use-after-dtor when invoke destructor on current instance. Reviewers: eugenis Subscribers: llvm-commits, sanjoy Differential Revision: http://reviews.llvm.org/D12912 Rename temp var. llvm-svn: 247867
-
Eric Christopher authored
because it isn't being used on anything via the assembler right now. llvm-svn: 247866
-
Eric Christopher authored
llvm-svn: 247865
-
Eric Christopher authored
propagate to all callers/users/etc. llvm-svn: 247864
-
Chaoren Lin authored
llvm-svn: 247863
-
NAKAMURA Takumi authored
llvm-svn: 247862
-
Gabor Horvath authored
[Static Analyzer] Generics Checker: When an ObjC method returns a specialized object, track it properly. Differential Revision: http://reviews.llvm.org/D12889 llvm-svn: 247861
-
Reid Kleckner authored
It never really worked, and the new code is working better every day. llvm-svn: 247860
-
Devin Coughlin authored
The analyzer trims unnecessary nodes from the exploded graph before reporting path diagnostics. However, in some cases it can trim all nodes (including the error node), leading to an assertion failure (see https://llvm.org/bugs/show_bug.cgi?id=24184). This commit addresses the issue by adding two new APIs to CheckerContext to explicitly create error nodes. Unless the client provides a custom tag, these APIs tag the node with the checker's tag -- preventing it from being trimmed. The generateErrorNode() method creates a sink error node, while generateNonFatalErrorNode() creates an error node for a path that should continue being explored. The intent is that one of these two methods should be used whenever a checker creates an error node. This commit updates the checkers to use these APIs. These APIs (unlike addTransition() and generateSink()) do not take an explicit Pred node. This is because there are not any error nodes in the checkers that were created with an explicit different than the default (the CheckerContext's Pred node). It also changes generateSink() to require state and pred nodes (previously these were optional) to reduce confusion. Additionally, there were several cases where checkers did check whether a generated node could be null; we now explicitly check for null in these places. This commit also includes a test case written by Ying Yi as part of http://reviews.llvm.org/D12163 (that patch originally addressed this issue but was reverted because it introduced false positive regressions). Differential Revision: http://reviews.llvm.org/D12780 llvm-svn: 247859
-
Rafael Espindola authored
I don't intend to add full i686 support right now, just make sure we have all the infrastructure in place for it. llvm-svn: 247858
-
Chaoren Lin authored
Reviewers: zturner Subscribers: tberghammer, lldb-commits, danalbert Differential Revision: http://reviews.llvm.org/D12909 llvm-svn: 247857
-
Rui Ueyama authored
Only live symbols are written to the symbol table. Because isLive() returned false if dead-stripping was disabled entirely, only non-COMDAT sections were written to the symbol table. This patch fixes the issue. llvm-svn: 247856
-
Chaoren Lin authored
Works for gcc-4.8. A bug in gcc perhaps. llvm-svn: 247855
-
Rui Ueyama authored
llvm-svn: 247854
-
Rui Ueyama authored
This patch also makes the message less verbose. llvm-svn: 247853
-
Ryan Brown authored
The Go runtime schedules user level threads (goroutines) across real threads. This adds an OS plugin to create memory threads for goroutines. It supports the 1.4 and 1.5 go runtime. Differential Revision: http://reviews.llvm.org/D5871 llvm-svn: 247852
-
Reid Kleckner authored
I was constructing an object without filling in all the fields. llvm-svn: 247851
-
Chris Bieneman authored
This refactoring is to enable clang to re-use this code. llvm-svn: 247850
-
Davide Italiano authored
Symbol table is now populated correctly, but some fields are missing, they'll be added in the future. This patch also adds --discard-all flag, which was the default behavior until now. Differential Revision: http://reviews.llvm.org/D12874 llvm-svn: 247849
-
David Majnemer authored
The MSVC doesn't really support exception specifications so let's just turn these into cleanuppads. Later, we might use terminatepad to more efficiently encode the "noexcept"-ness of a function body. llvm-svn: 247848
-
Teresa Johnson authored
from outside the BitstreamWriter. Split out of patch D12536 (Function bitcode index in Value Symbol Table and lazy reading support), which will use it to patch in the VST offset. llvm-svn: 247847
-