- Aug 19, 2013
-
-
Alexey Samsonov authored
llvm-svn: 188675
-
NAKAMURA Takumi authored
AFAIK, there are no -W options for gcc-as and gcc-ld. It caused failure to build clang with gcc-4.7 on cygwin. FIXME: Could we recategorize Options for gcc-as and gcc-ld? llvm-svn: 188668
-
Alexey Samsonov authored
llvm-svn: 188667
-
Alexey Samsonov authored
llvm-svn: 188666
-
Robert Lytton authored
This is so aggregates can be passed as var args too. llvm-svn: 188664
-
Robert Lytton authored
llvm-svn: 188663
-
Alexey Samsonov authored
llvm-svn: 188662
-
NAKAMURA Takumi authored
llvm-svn: 188661
-
Alexey Samsonov authored
Summary: This change turns SanitizerArgs into high-level options stored in the Driver, which are parsed lazily. This fixes an issue of multiple copies of the same diagnostic message produced by sanitizer arguments parser. Reviewers: rsmith Reviewed By: rsmith CC: chandlerc, eugenis, cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1341 llvm-svn: 188660
-
Dmitri Gribenko authored
Move C++-specific tests that were checking if we attach a base class comment to a derived class to an existing test comment-to-html-xml-conversion.cpp. Note that the original testing approach was not actually testing the class--comment relationship. It only checked that we attached the comment *somewhere*. The rest of subclass-comment.mm should be also moved elsewhere. llvm-svn: 188658
-
Dmitri Gribenko authored
comment-misc-tags.m is mostly about miscellaneous Doxygen tags. Move out tests that check if the comment is attached to an ObjC decl. Because the exitsting test for this is in C++ (annotate-comments.cpp), create a new test -- annotate-comments-objc.m. The rest of comment-misc-tags.m should be also moved elsewhere. llvm-svn: 188657
-
David Blaikie authored
DebugInfo: Do not include line/file info for artificial parameters & parameters of artificial functions llvm-svn: 188651
-
- Aug 18, 2013
-
-
David Blaikie authored
Revert "Revert "DebugInfo: Omit debug info for dynamic classes in TUs that do not have the vtable for that class"" This reverts commit r188600. r188640/r188639 fixed the root cause of the crash-on-valid that r188600 originally introduced. This now appears to bootstrap debug clang successfully to the best of my testing. llvm-svn: 188642
-
David Blaikie authored
A partner to r188639, this is a somewhat heavy-handed fix to the general issue, since even after that prior change the issue does still unavoidably arise with template parameters (see test case). There are other ways we could consider addressing this (see FIXME). llvm-svn: 188640
-
David Blaikie authored
Possible minor reduction in debug info & avoid some cases where creating a context chain could lead to the type the context chain is being created for, being created. (this is still possible with template parameters - tests/fixes/improvements to follow) llvm-svn: 188639
-
David Blaikie authored
Fixes a crash-on-valid introduced by r188486 (which should've occurred earlier but for a blatant bug where calling createFwdDecl from the requireCompleteType callback was useless under -flimit-debug-info and we were just getting lucky with other later callbacks requiring the type anyway). llvm-svn: 188622
-
- Aug 17, 2013
-
-
David Blaikie authored
llvm-svn: 188612
-
Juergen Ributzka authored
_mm256_broadcastsi128_si256 to align with the Intel documentation. This fixes bug PR 16581 and rdar:14747994. llvm-svn: 188609
-
Richard Smith authored
preparation for teaching this function how to diagnose a correction that includes importing a module. llvm-svn: 188602
-
David Blaikie authored
Revert "DebugInfo: Omit debug info for dynamic classes in TUs that do not have the vtable for that class" This reverts commit r188576. Reverting while I investigate a selfhosting buildbot failure on Darwin. llvm-svn: 188600
-
Rafael Espindola authored
Before this patch we would warn and drop the attribute in extern const char test3[] __attribute__((used)) = ""; llvm-svn: 188588
-
David Blaikie authored
DebugInfo: Canonicalize namespaces to avoid emitting multiple namespaces with the same name but different lines Updated test case to not rely on line numbers in more cases (it's hard to use the @ check syntax for debug info test cases (due to the interesting ordering of metadata) and this case in particular (given the hash-line directive)) - left a few in there to cover the line number information for these. llvm-svn: 188585
-
- Aug 16, 2013
-
-
David Blaikie authored
This reduces Clang's .dwo (fission debug info) size by 23% over Clang+LLVM. llvm-svn: 188576
-
DeLesley Hutchins authored
llvm-svn: 188571
-
David Majnemer authored
Summary: HandleTopLevelDecl on a templated function leads us to try and mangle it. Reviewers: rsmith Reviewed By: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1412 llvm-svn: 188536
-
Jordan Rose authored
This once again restores notes to following their associated warnings in -analyzer-output=text mode. (This is still only intended for use as a debugging aid.) One twist is that the warning locations in "regular" analysis output modes (plist, multi-file-plist, html, and plist-html) are reported at a different location on the command line than in the output file, since the command line has no path context. This commit makes -analyzer-output=text behave like a normal output format, which means that the *command line output will be different* in -analyzer-text mode. Again, since -analyzer-text is a debugging aid and lo-fi stand-in for a regular output mode, this change makes sense. Along the way, remove a few pieces of stale code related to the path diagnostic consumers. llvm-svn: 188514
-
Eli Friedman authored
PR16900. llvm-svn: 188511
-
Eli Friedman authored
When we are parsing a type for an alias template, we are not entering the context, so we can't look into dependent classes. Make sure the parser handles this correctly. PR16904. llvm-svn: 188510
-
DeLesley Hutchins authored
llvm-svn: 188505
-
Fariborz Jahanian authored
to define real CF_RETURNS_RETAINED/CF_NO_RETURNS_RETAINED pairs. llvm-svn: 188497
-
Eli Friedman authored
In addition to storing more useful information in the AST, this fixes a semantic check in template instantiation which checks whether the l-paren location is valid. Fixes PR16903. llvm-svn: 188495
-
- Aug 15, 2013
-
-
Fariborz Jahanian authored
with CF_RETURNS_RETAINED/CF_RETURNS_NOT_RETAINED as appropriate. llvm-svn: 188493
-
David Majnemer authored
Summary: We would crash in CodeGen::CodeGenModule::EmitUuidofInitializer because our attempt to enter CodeGen::CodeGenModule::EmitConstantValue will be foiled: the type of the constant value is incomplete. Instead, create an unnamed type with the proper layout on all platforms. Punt the problem of wrongly defined struct _GUID types to the user. (It's impossible because the TU may never get to see the type and thus we can't verify that it is suitable.) This fixes PR16856. Reviewers: rsmith, rnk, thakis Reviewed By: rnk CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1375 llvm-svn: 188481
-
Fariborz Jahanian authored
ObjectiveC migration. llvm-svn: 188480
-
Fariborz Jahanian authored
NS_ENUM, at least one power of 2 enumerator must be greater than two. llvm-svn: 188470
-
Jordan Rose authored
When a region is realloc()ed, MallocChecker records whether it was known to be allocated or not. If it is, and the reallocation fails, the original region has to be freed. Previously, when an allocated region escaped, MallocChecker completely stopped tracking it, so a failed reallocation still (correctly) wouldn't require freeing the original region. Recently, however, MallocChecker started tracking escaped symbols, so that if it were freed we could check that the deallocator matched the allocator. This broke the reallocation model for whether or not a symbol was allocated. Now, MallocChecker will actually check if a symbol is owned, and only require freeing after a failed reallocation if it was owned before. PR16730 llvm-svn: 188468
-
Jack Carter authored
Includes: add.a, adds_a, adds_s, adds_u, addv, addvi, andi.b, asub_[su], ave_[su], aver_[su], bclr, bclri, bins[lr], bins[lr]i, bmnzi, bmzi, bneg, bnegi, bset, bseti, c(eq|ne), c(eq|ne)i, cl[et]_[su], cl[et]i_[su], copy_[su].[bhw], div_[su], dotp_[su], dpadd_[su], dpsub_[su], fadd, fceq, fclass, fcl[et], fcne, fdiv, fexp2, ffint_[su], ffql, ffqr, fill, flog2, fmadd, fmax, fmax_a, fmin, fmin_a, fmsub, fmul, frint, fseq, fsle, fslt, fsne, fsqr, fsub, ftint_[su], ftq, ilvev, ilvl, ilvod, ilvr, ldi, frcp, frsqrt, madd_q, maddr_q, maddv, max_[asu], maxi_[su], min_[asu], mini_[su], mod_[su], msub_q, msubr_q, msubv, mul_q, mulr_q, mulv, nloc, nlzc, nori, ori, pckev, pckod, pcnt, sat_[su], shf, sld, sldi, sll, slli, splat, splati, sr[al], sr[al]i, subs_[su], subv, subvi, xori Patch by Daniel Sanders llvm-svn: 188461
-
David Majnemer authored
llvm-svn: 188453
-
Hao Liu authored
llvm-svn: 188452
-
David Majnemer authored
Summary: There were several things going wrong: - We mangled in useless qualifiers like "volatile void" return types. - We didn't propagate 64-bit pointer markers sufficiently. - We mangled qualifiers belonging to the pointee incorrectly. This fixes PR16844 and PR16848. Reviewers: rnk, whunt Reviewed By: rnk CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1353 llvm-svn: 188450
-