- Feb 09, 2013
-
-
Dmitri Gribenko authored
llvm-svn: 174814
-
Bill Wendling authored
The original syntax for the attribute groups was ambiguous. For example: declare void @foo() #1 #0 = attributes { noinline } The '#0' would be parsed as an attribute reference for '@foo' and not as a top-level entity. In order to continue forward while waiting for a decision on what the correct syntax is, I'm changing it to this instead: declare void @foo() #1 attributes #0 = { noinline } Repeat: This is TEMPORARY until we decide what the correct syntax should be. llvm-svn: 174813
-
Bill Wendling authored
We are going to place the AttributeSet into a DenseMap during assembly writing. llvm-svn: 174812
-
Dmitri Gribenko authored
llvm-svn: 174811
-
Dmitri Gribenko authored
This also gives us 0.2% speedup on '-fsyntax-only -Wdocumentation' time for a testcase that consists of all Clang headers. llvm-svn: 174810
-
Dmitri Gribenko authored
llvm-svn: 174809
-
Justin Holewinski authored
llvm-svn: 174808
-
Jakub Staszak authored
llvm-svn: 174807
-
Jakub Staszak authored
llvm-svn: 174806
-
Jordan Rose authored
These are causing assertions on some MSVC builds. llvm-svn: 174805
-
Chris Lattner authored
llvm-svn: 174804
-
Chris Lattner authored
not enabled yet). llvm-svn: 174803
-
Ted Kremenek authored
There's no need to refer to the @implementation at all. Fixes <rdar://problem/13186515> llvm-svn: 174802
-
Chris Lattner authored
bitcode writer would generate abbrev records saying that the abbrev should be filled with fixed zero-bit bitfields (this happens in the .bc writer when the number of types used in a module is exactly one, since log2(1) == 0). In this case, just handle it as a literal zero. We can't "just fix" the writer without breaking compatibility with existing bc files, so have the abbrev reader do the substitution. Strengthen the assert in read to reject reads of zero bits so we catch such crimes in the future, and remove the special case designed to handle this. llvm-svn: 174801
-
Chris Lattner authored
instead of always 32-bits at a time) with two changes: 1. Make Read(0) always return zero without affecting the state of our cursor. 2. Hack word_t to always be 32 bits, as staging. These two caveats will change shortly. llvm-svn: 174800
-
Jordan Rose authored
I'm using the name "Extended Identifiers" for the feature because that's what GCC calls them. According to the standard, the new feature is "universal character names are now allowed in identifiers", but the more interesting "feature" is that identifiers can now contain Unicode characters, however they are written. llvm-svn: 174798
-
Enrico Granata authored
If you try to access any child > 0 without having touched child 0, LLDB won't be able to reconstruct type information from the debug info. Previously, we would fail. Now, we simply go fetch child 0 and then come back. llvm-svn: 174795
-
Douglas Gregor authored
visible. The basic problem here is that a given translation unit can use forward declarations to form pointers to a given type, say, class X; X *x; and then import a module that includes a definition of X: import XDef; We will then fail when attempting to access a member of X, e.g., x->method() because the AST reader did not know to look for a default of a class named X within the new module. This implementation is a bit of a C-centric hack, because the only definitions that can have this property are enums, structs, unions, Objective-C classes, and Objective-C protocols, and all of those are either visible at the top-level or can't be defined later. Hence, we can use the out-of-date-ness of the name and the identifier-update mechanism to force the update. In C++, we will not be so lucky, and will need a more advanced solution, because the definitions could be in namespaces defined in two different modules, e.g., // module 1 namespace N { struct X; } // module 2 namespace N { struct X { /* ... */ }; } One possible implementation here is for C++ to extend the information associated with each identifier table to include the declaration IDs of any definitions associated with that name, regardless of context. We would have to eagerly load those definitions. llvm-svn: 174794
-
Jim Ingham authored
Reworked the way Process::RunThreadPlan and the ThreadPlanCallFunction interoperate to fix problems where hitting auto-continue signals while running a thread plan would cause us to lose control of the debug session. <rdar://problem/12993641> llvm-svn: 174793
-
NAKAMURA Takumi authored
llvm-svn: 174792
-
Jakub Staszak authored
llvm-svn: 174791
-
Jakub Staszak authored
llvm-svn: 174790
-
Andrew Trick authored
Handle chains in which the same offset is used for both loads and stores to the same array. Fixes rdar://11410078. llvm-svn: 174789
-
Jordan Rose authored
Add warnings under -Wc++11-compat, -Wc++98-compat, and -Wc99-compat when a particular UCN is incompatible with a different standard, and -Wunicode when a UCN refers to a surrogate character in C++03. llvm-svn: 174788
-
Anna Zaks authored
The missing definition check should be in the same category as the missing ivar validation - in this case, the intent is to invalidate in the given class, as described in the declaration, but the implementation does not perform the invalidation. Whereas the MissingInvalidationMethod checker checks the cases where the method intention is not to invalidate. The second checker has potential to have a much higher false positive rate. llvm-svn: 174787
-
Jakub Staszak authored
llvm-svn: 174786
-
Manman Ren authored
line table entries in assembly. llvm-svn: 174785
-
Enrico Granata authored
The new progress bar mode was losing us information compared to the old dots mode in that we would have no way of knowing about test failures (short of peeking into the test result directory.. and you're not supposed to peek!) Added a new line of information that reports the count of tests that pass, fail or have other things happen to them. Again no flag to have the dots back. If you care, let us know! llvm-svn: 174784
-
Jakob Stoklund Olesen authored
This is part of the plan to delete LiveVariables. llvm-svn: 174783
-
Anna Zaks authored
llvm-svn: 174782
-
Anna Zaks authored
Separate the checking for the missing invalidation methods into a separate checker so that it can be turned on/off independently. llvm-svn: 174781
-
Anna Zaks authored
llvm-svn: 174780
-
Anna Zaks authored
The new annotation allows having methods that only partially invalidate IVars and might not be called from the invalidation methods directly (instead, are guaranteed to be called before the invalidation occurs). The checker is going to trust the programmer to call the partial invalidation method before the invalidator.This is common in cases when partial object tear down happens before the death of the object. llvm-svn: 174779
-
Enrico Granata authored
llvm-svn: 174778
-
rdar://problem/13176279Enrico Granata authored
The LLDB test suite now shows a progress bar instead of dots when not in verbose mode If you crave the dots, make your Terminal window smaller than 10 columns :-) (or ask for a flag to have the dots come back on demand) llvm-svn: 174777
-
Sergei Larin authored
Enables raw_ostream I/O for BasicBlockPass. llvm-svn: 174776
-
Fariborz Jahanian authored
"auto-synthesized may not work correctly with 'nib' loader" when 'readonly' property is redeclared 'readwrite' in class extension. // rdar://13123861 llvm-svn: 174775
-
Jakob Stoklund Olesen authored
This uses a liveness algorithm that does not depend on data from the LiveVariables analysis, it is the first step towards removing LiveVariables completely. llvm-svn: 174774
-
Jordan Rose authored
check_cxx_symbol_exists requires CMake 2.8.6, so even though I recommended it to Owen it's probably better to stay away for now. This check is not technically correct because we're checking <math.h> but then using <cmath> in the actual code, but if we run into problems we can do the same sort of dance as isinf() and isnan() where we check /both/ headers and then write a wrapper header around them. llvm-svn: 174773
-
Sean Callanan authored
to pass it to CFGetTypeID() anyway. <rdar://problem/13181904> llvm-svn: 174772
-