- Apr 05, 2015
-
-
Rafael Espindola authored
This reverts commit r234101. I will debug what went wrong with ARM. llvm-svn: 234104
-
Simon Atanasyan authored
In case of MIPS O32 ABI linker should merge registers usage masks stored in the input .reginfo sections and save result into the output .reginfo section. The ABI states that the .reginfo section should be put into the separate segment. This requirement is not implemented in this patch. llvm-svn: 234103
-
Chaoren Lin authored
llvm-svn: 234102
-
Rafael Espindola authored
This reverts commit r233398, bringing back 233393 now that LLVM is fixed. Original message: Don't use unique section names by default if using the integrated as. This saves some IO and ccache space by not creating long section names. It should work with every ELF linker. llvm-svn: 234101
-
Rafael Espindola authored
It makes it hard to see which one is being called. llvm-svn: 234100
-
Rafael Espindola authored
This allows the compiler/assembly programmer to switch back to a section. This in turn fixes the bootstrap failure on powerpc (tested on gcc110) without changing the ppc codegen at all. I will try to cleanup the various getELFSection overloads in a followup patch. Just using a default argument now would lead to ambiguities. llvm-svn: 234099
-
- Apr 04, 2015
-
-
Simon Atanasyan authored
llvm-svn: 234098
-
David Blaikie authored
llvm-svn: 234097
-
David Blaikie authored
llvm-svn: 234096
-
Simon Atanasyan authored
llvm-svn: 234095
-
Alexander Kornienko authored
llvm-svn: 234094
-
Sanjay Patel authored
Use the driver flag -fno-signed-zeros instead. This was recommended but not implemented in D6873: http://reviews.llvm.org/D6873 which was checked in at r226915: http://reviews.llvm.org/rL226915 llvm-svn: 234093
-
Simon Pilgrim authored
Scalar integers are commuted to move constants to the RHS for re-association - this ensures vectors do the same. llvm-svn: 234092
-
Daniel Jasper authored
Before: let theObject = {someMethodName() { doTheThing(); doTheOtherThing(); }, someOtherMethodName() { doSomething(); doSomethingElse(); }}; After: let theObject = { someMethodName() { doTheThing(); doTheOtherThing(); }, someOtherMethodName() { doSomething(); doSomethingElse(); } }; llvm-svn: 234091 -
David Majnemer authored
Don't assume that all pointers are convertible to void pointer. Instead correctly respect [conv.ptr]p2; only allow pointer types with an object pointee type to be caught as pointer-to-void. llvm-svn: 234090
-
Simon Atanasyan authored
The `HexagonELFType` is declared in the HexagonLinkingContext.h. llvm-svn: 234089
-
Simon Atanasyan authored
In all other ELF related classes we use `ELFT` abbreviation. llvm-svn: 234088
-
Rui Ueyama authored
Functions in the files are hard to read because of line wrapping. Use shorter names for local variables so that the lines fit within 80 columns. llvm-svn: 234087
-
Craig Topper authored
[X86] Apply AddedComplexity consistently for similar patterns. This keeps them together in the DAGISel tables and reduces table size slightly. llvm-svn: 234086
-
Rui Ueyama authored
llvm-svn: 234085
-
Eric Christopher authored
llvm-svn: 234084
-
Eric Christopher authored
llvm-svn: 234083
-
Rui Ueyama authored
These functions are "constructors" of the LinkingContexts. We already have auxiliary classes and functions for ELFLinkingContext in the header. They fall in the same category. llvm-svn: 234082
-
Rui Ueyama authored
getRelocationHandler is a public interface to get an instance of TargetRelocationHandler. We don't use any member function other than applyRelocations to a returned instance. Returning a base class instance suffices here. (If a return type is a derived class, it looks like we were using derived classes features.) llvm-svn: 234081
-
Rui Ueyama authored
canParse took three parameters -- file magic, filename extension and memory buffer. All but YAMLReader ignored the second parameter. This patch removes the parameter. llvm-svn: 234080
-
Craig Topper authored
llvm-svn: 234079
-
Eric Christopher authored
llvm-svn: 234078
-
Rui Ueyama authored
llvm-svn: 234077
-
Rui Ueyama authored
Because of the previous change (r234074), ELFObjectReader became just an alias for ELFReader. We can replace all occurrences of ELFObjectReader with ELFReader. In this patch, I also replaced ELFDSOReader to remove the alias template. llvm-svn: 234076
-
Craig Topper authored
[X86] Don't use GR64 register 'and with immediate' instructions if the immediate is zero in the upper 33-bits or upper 57-bits. Use GR32 instructions instead. Previously the patterns didn't have high enough priority and we would only use the GR32 form if the only the upper 32 or 56 bits were zero. Fixes PR23100. llvm-svn: 234075
-
Rui Ueyama authored
So that we can remove one template parameter from ELFReader. ELF port is heavily templatized, and I want to reduce the usage where possible. llvm-svn: 234074
-
Rui Ueyama authored
llvm-svn: 234073
-
Rui Ueyama authored
llvm-svn: 234072
-
Chaoren Lin authored
Similar problem as in the last part of r200486. llvm-svn: 234071
-
Rui Ueyama authored
llvm-svn: 234070
-
Rui Ueyama authored
llvm-svn: 234069
-
Rui Ueyama authored
Only MIPS defined the member function, but this feature is not actually MIPS-specific. Also, the dependency to the MIPS-only member function prevented us from merging <Arch>ELF{Object,DSO}Reader classes. This patch moves the feature from MipsLinkingContext to LinkingContext. llvm-svn: 234068 -
David Majnemer authored
Now all fields in the WinEH xdata have been filled out. llvm-svn: 234067
-
Simon Atanasyan authored
llvm-svn: 234066
-
Simon Atanasyan authored
It is enough to have single TargetLayout class. llvm-svn: 234065
-