- Apr 04, 2013
-
-
Nick Kledzik authored
The major changes are: 1) LinkerOptions has been merged into TargetInfo 2) LinkerInvocation has been merged into Driver 3) Drivers no longer convert arguments into an intermediate (core) argument list, but instead create a TargetInfo object and call setter methods on it. This is only how in-process linking would work. That is, you can programmatically set up a TargetInfo object which controls the linking. 4) Lots of tweaks to test suite to work with driver changes 5) Add the DarwinDriver 6) I heavily doxygen commented TargetInfo.h Things to do after this patch is committed: a) Consider renaming TargetInfo, given its new roll. b) Consider pulling the list of input files out of TargetInfo. This will enable in-process clients to create one TargetInfo the re-use it with different input file lists. c) Work out a way for Drivers to format the warnings and error done in core linking. llvm-svn: 178776
-
Fariborz Jahanian authored
deprecated typedef to subclass or invoke a class method. // rdar://13569424 llvm-svn: 178775
-
Eli Bendersky authored
llvm-svn: 178774
-
Jakob Stoklund Olesen authored
The Thumb2SizeReduction pass avoids false CPSR dependencies, except it still aggressively creates tMOVi8 instructions because they are so common. Avoid creating false CPSR dependencies even for tMOVi8 instructions when the the CPSR flags are known to have high latency. This allows integer computation to overlap floating point computations. Also process blocks in a reverse post-order and propagate high-latency flags to successors. <rdar://problem/13468102> llvm-svn: 178773
-
Eli Bendersky authored
llvm-svn: 178771
-
Ted Kremenek authored
Add test case to show that 'availability' and 'deprecated' do *not* inherit when redeclaring ObjC properties. llvm-svn: 178770
-
Evan Cheng authored
llvm-svn: 178769
-
Rafael Espindola authored
Having these not be the same makes an easy to misuse API. We should audit the uses and probably rename to something like foo->hasExternalLinkage(): The c++ standard one. That is UniqueExternalLinkage or ExternalLinkage. foo->hasUniqueExternalLinkage(): Is UniqueExternalLinkage. foo->hasCogeGenExternalLinkage(): Is ExternalLinkage. llvm-svn: 178768
-
Benjamin Kramer authored
llvm-svn: 178767
-
Rafael Espindola authored
Now that we don't have a semantic storage class, use the linkage. Thanks to Bruce Stephens for reporting this. llvm-svn: 178766
-
Stepan Dyatkovskiy authored
llvm-svn: 178765
-
Howard Hinnant authored
Somehow search_n never got tested, so of course it had a bug in it. This fixes http://llvm.org/bugs/show_bug.cgi?id=15667. llvm-svn: 178764
-
Vincent Lejeune authored
llvm-svn: 178763
-
Vincent Lejeune authored
llvm-svn: 178762
-
Vincent Lejeune authored
llvm-svn: 178761
-
Alexey Samsonov authored
llvm-svn: 178760
-
Kostya Serebryany authored
llvm-svn: 178758
-
Kostya Serebryany authored
[asan] fill first 4K of malloc-ed memory with garbage, implement flags max_malloc_fill_size and malloc_fill_byte llvm-svn: 178757
-
Evgeniy Stepanov authored
llvm-svn: 178756
-
Evgeniy Stepanov authored
Fixes Mac build. llvm-svn: 178755
-
Evgeniy Stepanov authored
Add wrappers for all user signal handlers to unpoison the handler's arguments. llvm-svn: 178754
-
Alexey Samsonov authored
llvm-svn: 178750
-
Alexey Samsonov authored
llvm-svn: 178749
-
Kostya Serebryany authored
llvm-svn: 178747
-
Eric Christopher authored
support. Caveat: Other than the existing segmented stacks support, no claims are made of this working. llvm-svn: 178744
-
Ted Kremenek authored
Revert r177948. We decided that we do not want ObjC property redeclarations to inherit "deprecated". llvm-svn: 178743
-
Nadav Rotem authored
llvm-svn: 178742
-
Rafael Espindola authored
keep the call at the current location. llvm-svn: 178741
-
Richard Smith authored
llvm-svn: 178740
-
Rafael Espindola authored
This mostly reverts 178733, but keeps the tests. I don't claim to understand how hidden sub modules work or when we need to see them (is that documented?), but this has the same semantics and avoids adding hasExternalLinkageUncached which has the same foot gun potential as the old hasExternalLinkage. Last but not least, not computing linkage when it is not needed is more efficient. llvm-svn: 178739
-
Jason Molenda authored
so it can be re-entered while iterating over a directory safely. llvm-svn: 178738
-
Jakob Stoklund Olesen authored
This requires v9 cmov instructions using the %xcc flags instead of the %icc flags. Still missing: - Select floats on %xcc flags. - Select i64 on %fcc flags. llvm-svn: 178737
-
Richard Smith authored
llvm-svn: 178736
-
Rafael Espindola authored
This test was exactly the opposite of what it should be. We should check if there old decl has linkage (where it makes sense) and if the new decl has the extern keyword. llvm-svn: 178735
-
Jim Ingham authored
children - which it may have to compute. Thus it needs to take the API lock. <rdar://problem/13560869> llvm-svn: 178734
-
Richard Smith authored
caching the linkage for a declaration before we set up its redeclaration chain, when determining whether a declaration could be a redeclaration of something from an unimported submodule. We actually want to look at the declaration as if it were not a redeclaration here, so compute the linkage but don't cache it. llvm-svn: 178733
-
Jim Ingham authored
<rdar://problem/11319574> llvm-svn: 178732
-
John McCall authored
of a property just in case the property's getter happens to be +1. We won't synthesize a getter for such a property, but we will allow the user to define a +1 method for it. rdar://13115896 llvm-svn: 178731
-
Rafael Espindola authored
Looks like cmake on windows is not expanding ENABLE_EXPORTS to -Wl,--export-all-symbols on mingw or cygwin, so add this back. llvm-svn: 178730
-
rdar://problem/13563697Enrico Granata authored
The __NSArrayI synthetic children provider was running expressions to generate children, which is inefficient for large amounts of data Reimplementing to use a faster algorithm llvm-svn: 178729
-