- Feb 27, 2013
-
-
Nadav Rotem authored
llvm-svn: 176166
-
Reed Kotler authored
llvm-svn: 176165
-
Rafael Espindola authored
Since r175326 an implicitly hidden template argument can cause a template installation to become hidden, even if the template itself has an explicit default visibility. This requires that we keep track of "late" additions of the visibility attribute. This is hopefully the last followup change. It just removes the caching of visibilities from types so that we can see new attributes even after a type has been used. llvm-svn: 176164
-
Lang Hames authored
bitfield. CGBitField::StorageAlignment holds the alignment in chars, but emitMemcpy had been treating it as if it were held in bits, leading to underaligned memcpys. Related to PR15348. Thanks very much to Chandler for the diagnosis. llvm-svn: 176163
-
Shankar Easwaran authored
llvm-svn: 176162
-
Reed Kotler authored
It will only be used for Mips 16 at this time. llvm-svn: 176161
-
Jason Molenda authored
binary to lldb already check that the UUID of that binary and the UUID of the kernel binary in memory match. Warn if they don't. <rdar://problem/13184784> llvm-svn: 176160
-
Rafael Espindola authored
llvm-svn: 176159
-
rdar://problem/13289828Enrico Granata authored
Categories were conceptually meant to be placeable on test methods as well as test classes and test directories However, that was broken. This checkin fixes that. The incantation required to put categories on individual test case methods is not exactly elegant, unfortunately: def test_case(self): """Test me.""" self.do_it() def _test_case_get_categories(self): return ["demo"] test_case.getCategories = _test_case_get_categories del _test_case_get_categories llvm-svn: 176158
-
Rafael Espindola authored
llvm-svn: 176157
-
Meador Inge authored
PR15262 reported a bug where the following instruction: i8 getelementptr inbounds i8* bitcast ([4 x i8] addrspace(12)* @buf to i8*), i32 2 was getting folded into: addrspace(12)* getelementptr inbounds ([4 x i8] addrspace(12)* @buf, i32 0, i32 2) This caused instcombine to crash because the original instruction and the folded instruction have different types. The issue was fixed by disallowing bitcasts between different address spaces to be folded away. llvm-svn: 176156
-
Rafael Espindola authored
Everything that cares about visibility also cares about linkage, so I just moved it to Visibility.h instead of creating a new .h. llvm-svn: 176155
-
Manman Ren authored
CurrentCallSite to avoid an assertion failure: assert(MMI.getCurrentCallSite() == 0 && "Overlapping call sites!"); rdar://problem/13228754 llvm-svn: 176154
-
Richard Trieu authored
llvm-svn: 176153
-
Argyrios Kyrtzidis authored
llvm-svn: 176152
-
Adrian Prantl authored
This reverts commit ea95e4587fd13606fbf63b10a07a7d02026aa39c. llvm-svn: 176151
-
Michael J. Spencer authored
This adds separate PLT and dynamic relocation tables. It also fills in the dynamic table entries for them. llvm-svn: 176150
-
Ted Kremenek authored
This potentially reduces a performance optimization of throwing away PreStmtPurgeDeadSymbols nodes. I'll investigate the performance impact soon and see if we need something better. llvm-svn: 176149
-
Argyrios Kyrtzidis authored
[PCH] When deserializing an IdentifierInfo, call IdentifierInfo::RevertTokenIDToIdentifier() only when it's not already an identifier. Fixes an assertion hit. rdar://13288735 llvm-svn: 176148
-
Fariborz Jahanian authored
think of them as having return values that may be computed. Don't warn when using @return in their comment. // rdar://13189938 llvm-svn: 176147
-
John McCall authored
access to a private member to which we have special access. rdar://12926092 llvm-svn: 176146
-
Bill Wendling authored
llvm-svn: 176145
-
Jordan Rose authored
This is essentially the same problem as r174031: a lazy binding for the first field of a struct may stomp on an existing default binding for the entire struct. Because of the way RegionStore is set up, we can't help but lose the top-level binding, but then we need to make sure that accessing one of the other fields doesn't come back as Undefined. In this case, RegionStore is now correctly detecting that the lazy binding we have isn't the right type, but then failing to follow through on the implications of that: we don't know anything about the other fields in the aggregate. This fix adds a test when searching for other kinds of default values to see if there's a lazy binding we rejected, and if so returns a symbolic value instead of Undefined. The long-term fix for this is probably a new Store model; see <rdar://problem/12701038>. Fixes <rdar://problem/13292559>. llvm-svn: 176144
-
Manman Ren authored
definition DIE, to make old GDB happy. We have a regression for old GDB when Clang uses DW_TAG_member to declare static members inside a class, instead of DW_TAG_variable. This patch will fix this regression. rdar://problem/13291234 llvm-svn: 176143
-
Ted Kremenek authored
isBeforeInTranslationUnit() uses a cache to reduce the expensive work to compute a common ancestor for two FileIDs. This work is very expensive, so even caching the latest used FileIDs was a big win. A closer analysis of the cache before, however, shows that the cache access pattern would oscillate between a working set of FileIDs, and thus caching more pairs would be profitable. This patch adds a side table for extending caching. This side table is bounded in size (experimentally determined in this case from a simple Objective-C project), and when the table gets too large we fall back to the single entry caching before as before. On Sketch (a small example Objective-C project), this optimization reduces -fsyntax-only time on SKTGraphicView.m by 5%. This is for a project that is already using PCH. Fixes <rdar://problem/13299847> llvm-svn: 176142
-
Jason Molenda authored
from being fetched correctly. <rdar://problem/13290877> llvm-svn: 176141
-
rdar://problem/13287629Greg Clayton authored
Fixed an issue with clang 500's new way to represent static class variables where it emits a DW_TAG_member with a DW_AT_external(0x01) attribute and no DW_AT_data_member_location. llvm-svn: 176140
-
Pedro Artigas authored
enhancement done the trivial way; by extending inputs and truncating outputs which is addequate for targets with little or no support for integer arithmetic on integer types less than 32 bits. llvm-svn: 176139
-
Rafael Espindola authored
llvm-svn: 176138
-
Bill Wendling authored
llvm-svn: 176137
-
Michael Ilseman authored
llvm-svn: 176136
-
Bill Wendling authored
llvm-svn: 176135
-
Eli Bendersky authored
to NULL and use asserts to check in relevant places. llvm-svn: 176134
-
Bill Wendling authored
This is causing some problems with some of the builders. It's non-trivial to reset the target's features. llvm-svn: 176133
-
- Feb 26, 2013
-
-
Jim Ingham authored
llvm-svn: 176132
-
Michael Ilseman authored
Constant fold vector bitcasts of halves similarly to how floats and doubles are folded. Test case included. llvm-svn: 176131
-
Roman Divacky authored
llvm-svn: 176130
-
Manman Ren authored
llvm-svn: 176129
-
Chad Rosier authored
llvm-svn: 176128
-
Fariborz Jahanian authored
doxygen commands. // rdar://12379053 llvm-svn: 176127
-