- Jul 06, 2013
-
-
Michael Gottesman authored
[objc-arc] When we initialize ARCRuntimeEntryPoints, make sure we reset all references to entrypoint declarations as well. llvm-svn: 185764
-
Nico Rieck authored
llvm-svn: 185763
-
Fariborz Jahanian authored
// rdar://14182680. llvm-svn: 185762
-
Kai Nacke authored
Obviously the personality function should be emitted as language handler instead of the hard coded _GCC_specific_handler. The language specific data must be placed after the unwind information therefore it must not be emitted into a separate section. Reviewed by Charles Davis and Nico Rieck. llvm-svn: 185761
-
Kai Nacke authored
For alignment purposes, the instruction array will always have an even number of entries, with the final entry potentially unused (in which case the array will be one longer than indicated by the count of unwind codes field). Reviewed by Charles Davis and Nico Rieck. llvm-svn: 185760
-
Kai Nacke authored
data structures. The Win64 EH data structures must be of type IMAGE_REL_AMD64_ADDR32NB instead of IMAGE_REL_AMD64_ADDR32. This is easiely achieved by adding the VK_COFF_IMGREL32 modifier to the symbol reference. Change also references to start and end of the SEH range of a function as offsets to start of the function. Reviewed by Charles Davis and Nico Rieck. llvm-svn: 185759
-
Kai Nacke authored
The code offset for unwind code SET_FPREG is wrong because it is set to constant 0. The fix is to do the same as for the other unwind codes: emit a label and later the absolute difference between the label and the begin of the prologue. Also enables the failing test case MC/COFF/seh.s Reviewed by Charles Davis and Nico Rieck. llvm-svn: 185758
-
Benjamin Kramer authored
llvm-svn: 185757
-
Howard Hinnant authored
llvm-svn: 185756
-
Benjamin Kramer authored
ReduceLoadWidth unconditionally drops extensions from loads. Limit it to the case when all of the bits the extension would otherwise produce are dropped by the shrink. It would be possible to shrink the load in more cases by merging the extensions, but this isn't trivial and a very rare case. I left a TODO for that case. Fixes PR16551. llvm-svn: 185755
-
Tim Northover authored
This prevents the emission of DAG-generated vreg definitions after a tail call be dropping them entirely (on the grounds that nothing could use them anyway, and they interfere with O0 CodeGen). llvm-svn: 185754
-
Nico Rieck authored
llvm-svn: 185753
-
Sylvestre Ledru authored
llvm-svn: 185752
-
Michael Gottesman authored
llvm-svn: 185751
-
David Majnemer authored
llvm-svn: 185748
-
Michael Gottesman authored
[objc-arc] Performed some small cleanups in ARCRuntimeEntryPoints and added an llvm_unreachable after the switch to quiet -Wreturn_type errors. llvm-svn: 185746
-
David Majnemer authored
This boils down to us sending invalid function decls to CheckFunctionDeclaration becauswe we did not consider that CheckMain could cause the decl to be invalid. Instead, interogate the new decl's main-validity and *then* send it over to get CheckFunctionDeclaration'd if it was still valid after calling CheckMain. llvm-svn: 185745
-
Michael Gottesman authored
This fixes an issue that came up due to -fpermissive on the bots. llvm-svn: 185744
-
Michael Gottesman authored
llvm-svn: 185743
-
Michael Gottesman authored
llvm-svn: 185742
-
Michael Gottesman authored
llvm-svn: 185741
-
Michael Gottesman authored
This is the first patch in a series of 3 patches which clean up how we create runtime function declarations in the ARC optimizer when they do not exist already in the IR. Currently we have a bunch of duplicated code in ObjCARCOpts, ObjCARCContract that does this. This patch refactors that code into a separate class called ARCRuntimeEntryPoints which lazily creates the declarations for said entrypoints. The next two patches will consist of the work of refactoring ObjCARCContract/ObjCARCOpts to use this new code. llvm-svn: 185740
-
Nick Lewycky authored
llvm-svn: 185739
-
Nick Lewycky authored
llvm-svn: 185738
-
David Majnemer authored
llvm-svn: 185737
-
Nick Lewycky authored
llvm-svn: 185736
-
Nick Lewycky authored
functions. Make the function attributes pass add it to known library functions and when it can deduce it. llvm-svn: 185735
-
Fariborz Jahanian authored
class type. // rdar://14261999 llvm-svn: 185734
-
Jakob Stoklund Olesen authored
No functional change intended. llvm-svn: 185733
-
Fariborz Jahanian authored
use can cause crash. No test is available. It is uncovered by code browsing. // rdar://14348205 llvm-svn: 185732
-
Jakob Stoklund Olesen authored
llvm-svn: 185731
-
Rafael Espindola authored
llvm-svn: 185730
-
Michael Gottesman authored
llvm-svn: 185729
-
- Jul 05, 2013
-
-
Rafael Espindola authored
llvm-svn: 185728
-
Rafael Espindola authored
Include a test that clang now produces output files with permissions matching the umask. llvm-svn: 185727
-
Rafael Espindola authored
This function is complementary to createTemporaryFile. It handles the case were the unique file is *not* temporary: we will rename it in the end. Since we will rename it, the file has to be in the same filesystem as the final destination and we don't prepend the system temporary directory. This has a small semantic difference from unique_file: the default mode is 0666. This matches the behavior of most unix tools. For example, with this change lld now produces files with the same permissions as ld. I will add a test of this change when I port clang over to createUniqueFile (next commit). llvm-svn: 185726
-
Argyrios Kyrtzidis authored
llvm-svn: 185725
-
Fariborz Jahanian authored
use of objc's properties. llvm-svn: 185724
-
Michael Gottesman authored
llvm-svn: 185723
-
Argyrios Kyrtzidis authored
[libclang] Introduce clang_Cursor_isObjCOptional, which returns whether the declaration was affected by "@optional" rdar://14348525. llvm-svn: 185722
-