- Sep 04, 2013
-
-
Eric Christopher authored
in the module. Add a FIXME with a comment about darwin's ld. llvm-svn: 189902
-
Reid Kleckner authored
llvm-svn: 189901
-
Marshall Clow authored
llvm-svn: 189900
-
Eric Christopher authored
llvm-svn: 189899
-
Reid Kleckner authored
I tried to implement this properly in r189051, but I didn't have enough test coverage. Richard kindly provided more test cases than I could possibly imagine and now we should have the correct condition. llvm-svn: 189898
-
Rui Ueyama authored
The compiler is allowed to add a linker option starting with -?<name> to .drectve section. If the linker can interpret -<name>, it's processed as if there's no question mark there. If not, such option is silently ignored. This is a COFF's feature to allow the compiler to emit new linker options while keeping compatibility with older linkers. llvm-svn: 189897
-
Shankar Easwaran authored
Emit note sections if the input contains a note section. Also emit a note segment. llvm-svn: 189896
-
Rui Ueyama authored
Before this patch, name of driver implementation is not consistent with its option table file. Specifically, LDOptions has a different prefix than GnuLdDriver. This patch renames option files, so that the option files have the same prefix as the corresponding driver files. Differential Revision: http://llvm-reviews.chandlerc.com/D1591 llvm-svn: 189895
-
Marshall Clow authored
llvm-svn: 189894
-
Peter Collingbourne authored
explicit template instantiation" warning. llvm-svn: 189893
-
Fariborz Jahanian authored
ObjectiveC methods. Apply specific annotations for them instead as determined by the static analyzer. llvm-svn: 189892
-
Shankar Easwaran authored
llvm-svn: 189891
-
Joerg Sonnenberger authored
llvm-svn: 189890
-
Ed Maste authored
Instead of directly manipulating the thread list in Launch and Attach, just rely on RefreshStateAfterStop to populate the initial list. Review: http://llvm-reviews.chandlerc.com/D1565 llvm-svn: 189889
-
Rafael Espindola authored
llvm-svn: 189888
-
Shankar Easwaran authored
Also add a llvm_unreachable call so that the linker will trip on unhandled inputElement types. llvm-svn: 189887
-
Rafael Espindola authored
Original message: If a constant or a function has linkonce_odr linkage and unnamed_addr, mark hidden. Being linkonce_odr guarantees that it is available in every dso that needs it. Being a constant/function with unnamed_addr guarantees that the copies don't have to be merged. llvm-svn: 189886
-
Daniel Dunbar authored
- This aligns with how existing test suites end up wanting to use the local config files, conceptually it makes sense to consider them to be inherited. llvm-svn: 189885
-
Rafael Espindola authored
llvm-svn: 189884
-
Joerg Sonnenberger authored
llvm-svn: 189883
-
Reid Kleckner authored
llvm-svn: 189882
-
Rui Ueyama authored
llvm-svn: 189881
-
Rafael Espindola authored
llvm-svn: 189880
-
Ed Maste authored
/bin/sh is more portable, and all systems with /bin/bash are expected to have /bin/sh as well, even if only a link to bash. Review: http://llvm-reviews.chandlerc.com/D1576 llvm-svn: 189879
-
Jim Grosbach authored
Previously, the clang crash handling code would kick in and give a crash report for these, even though they're not that sort of error. rdar://14882264 llvm-svn: 189878
-
Rui Ueyama authored
llvm-svn: 189877
-
Shankar Easwaran authored
llvm-svn: 189876
-
Shankar Easwaran authored
llvm-svn: 189875
-
Shankar Easwaran authored
llvm-svn: 189874
-
Shankar Easwaran authored
llvm-svn: 189873
-
Shankar Easwaran authored
This adds init/fini support for Hexagon. llvm-svn: 189872
-
Shankar Easwaran authored
This changes the interface of createLinkerInput to use ErrorOr, so that errors from the linker can be captured. Also adds a convenience function for error strings to be returned from file nodes. llvm-svn: 189871
-
Michael Gottesman authored
llvm-svn: 189870
-
Michael Gottesman authored
The reason that I am turning off this optimization is that there is an additional case where a block can escape that has come up. Specifically, this occurs when a block is used in a scope outside of its current scope. This can cause a captured retainable object pointer whose life is preserved by the objc_retainBlock to be deallocated before the block is invoked. An example of the code needed to trigger the bug is: ---- \#import <Foundation/Foundation.h> int main(int argc, const char * argv[]) { void (^somethingToDoLater)(); { NSObject *obj = [NSObject new]; somethingToDoLater = ^{ [obj self]; // Crashes here }; } NSLog(@"test."); somethingToDoLater(); return 0; } ---- In the next commit, I remove all the dead code that results from this. Once I put in the fixing commit I will bring back the tests that I deleted in this commit. rdar://14802782. rdar://14868830. llvm-svn: 189869
-
Michael Gottesman authored
[objc-arc] Move some block tests from basic.ll -> retain-block.ll and add some missing CHECK-LABELS. llvm-svn: 189868
-
David Majnemer authored
Summary: Transform the token sequence for: typename typedef T U; to: typename T typedef U; Raise a diagnostic when this happens but only if we succeeded handling the typename. Reviewers: rsmith, rnk Reviewed By: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1433 llvm-svn: 189867
-
DeLesley Hutchins authored
Patch by chris.wailes@gmail.com. llvm-svn: 189866
-
Rui Ueyama authored
llvm-svn: 189865
-
Bill Wendling authored
llvm-svn: 189864
-
Eric Christopher authored
llvm-svn: 189863
-