Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove tabs. | Bill Wendling | 2012-07-19 | 1 | -2/+3 |
| | | | | llvm-svn: 160475 | ||||
* | Move the support for using .init_array from ARM to the generic | Rafael Espindola | 2012-06-19 | 1 | -8/+40 |
| | | | | | | | | | | TargetLoweringObjectFileELF. Use this to support it on X86. Unlike ARM, on X86 it is not easy to find out if .init_array should be used or not, so the decision is made via TargetOptions and defaults to off. Add a command line option to llc that enables it. llvm-svn: 158692 | ||||
* | Look for the 'Is Simulated' module flag. This indicates that the program is ↵ | Bill Wendling | 2012-04-24 | 1 | -4/+5 |
| | | | | | | compiled to run on a simulator. llvm-svn: 155435 | ||||
* | Fix to make sure that a comdat group gets generated correctly for a static ↵ | Anton Korobeynikov | 2012-02-23 | 1 | -1/+2 |
| | | | | | | | | | | member of instantiated C++ templates. Patch by Kristof Beyls! llvm-svn: 151250 | ||||
* | ... and it's probably best to use the correct alignment, rather than just ↵ | David Chisnall | 2012-02-17 | 1 | -1/+1 |
| | | | | | | guessing that it's the same as the size. llvm-svn: 150813 | ||||
* | It turns out that putting an 8-byte symbol in a 4-byte section makes Solaris ↵ | David Chisnall | 2012-02-17 | 1 | -3/+3 |
| | | | | | | | | | ld sulk. GNU ld is perfectly happy with it, which is worrying for a whole other set of reasons... Thanks to Anton, Duncan and Rafael for helping me track this down. Pointy hat to Rafael for introducing the bug in the first place. llvm-svn: 150811 | ||||
* | Use 'getDataNoRel' for the section kind. | Bill Wendling | 2012-02-15 | 1 | -5/+4 |
| | | | | llvm-svn: 150628 | ||||
* | Modify the code that emits the module flags to use the new module flags accessor | Bill Wendling | 2012-02-15 | 1 | -36/+34 |
| | | | | | | | | | method. This allows the target lowering code to not have to deal with MDNodes. Also, avoid leaking memory like a sieve by not creating a global variable for the image info section, but just emitting the code directly. llvm-svn: 150624 | ||||
* | Add code to the target lowering object file module to handle module flags. | Bill Wendling | 2012-02-14 | 1 | -0/+60 |
| | | | | | | | | The MachO back-end needs to emit the garbage collection flags specified in the module flags. This is a WIP, so the front-end hasn't been modified to emit these flags just yet. Documentation and front-end switching to occur soon. llvm-svn: 150507 | ||||
* | Add support for implicit TLS model used with MS VC runtime. | Anton Korobeynikov | 2012-02-11 | 1 | -1/+10 |
| | | | | | | Patch by Kai Nacke! llvm-svn: 150307 | ||||
* | Properly emit ctors / dtors with priorities into desired sections | Anton Korobeynikov | 2012-01-25 | 1 | -0/+26 |
| | | | | | | | | and let linker handle the rest. This finally fixes PR5329 llvm-svn: 148990 | ||||
* | More dead code removal (using -Wunreachable-code) | David Blaikie | 2012-01-20 | 1 | -4/+0 |
| | | | | llvm-svn: 148578 | ||||
* | On MachO, the pointer to the personality function should always be in the | Bill Wendling | 2011-11-29 | 1 | -3/+1 |
| | | | | | | | | non_lazy_symbol_pointers section (__IMPORT,__pointers). Ignore the 'hidden' part since that will place it in the wrong section. <rdar://problem/10443720> llvm-svn: 145356 | ||||
* | Remove all remaining uses of Value::getNameStr(). | Benjamin Kramer | 2011-11-15 | 1 | -6/+6 |
| | | | | llvm-svn: 144648 | ||||
* | Check the visibility of the global variable before placing it into the stubs | Bill Wendling | 2011-10-24 | 1 | -2/+6 |
| | | | | | | | table. A hidden variable could potentially end up in both lists. <rdar://problem/10336715> llvm-svn: 142869 | ||||
* | Goodbye TargetAsmInfo. This eliminate last bit of CodeGen and Target in llvm-mc. | Evan Cheng | 2011-07-20 | 1 | -16/+0 |
| | | | | | | | There is still a bit more refactoring left to do in Targets. But we are now very close to fixing all the layering issues in MC. llvm-svn: 135611 | ||||
* | Add MCObjectFileInfo and sink the MCSections initialization code from | Evan Cheng | 2011-07-20 | 1 | -519/+0 |
| | | | | | | | | TargetLoweringObjectFileImpl down to MCObjectFileInfo. TargetAsmInfo is done to one last method. It's *almost* gone! llvm-svn: 135569 | ||||
* | Fix an obvious typo that's preventing x86 (32-bit) from using .literal16. | Evan Cheng | 2011-07-19 | 1 | -1/+1 |
| | | | | llvm-svn: 135535 | ||||
* | Fix up TargetLoweringObjectFile ctors to properly initialize fields. | Evan Cheng | 2011-07-13 | 1 | -0/+41 |
| | | | | llvm-svn: 135068 | ||||
* | Use the presence of the __compact_unwind section to indicate that a target | Bill Wendling | 2011-06-23 | 1 | -10/+7 |
| | | | | | | supports compact unwind info instead of having a separate flag indicating this. llvm-svn: 133685 | ||||
* | Add a flag that indicates whether a target supports compact unwind info or not. | Bill Wendling | 2011-06-22 | 1 | -2/+6 |
| | | | | llvm-svn: 133662 | ||||
* | Add a __LD,__compact_unwind section. | Bill Wendling | 2011-06-22 | 1 | -0/+6 |
| | | | | | | | | If the linker supports it, this will hold the CIE and FDE information in a compact format. The implementation of the compact unwinding emission is coming soon. llvm-svn: 133658 | ||||
* | Fix invalid uses of Twine. Hopefully this fixes the problem that Takumi is | Rafael Espindola | 2011-06-13 | 1 | -7/+7 |
| | | | | | | having. llvm-svn: 132898 | ||||
* | Fix a silly error I introduce in r131951. | Rafael Espindola | 2011-06-07 | 1 | -4/+1 |
| | | | | | | Fixes PR10095. llvm-svn: 132735 | ||||
* | Add the suffix to the Win64 EH data sections' names if given. Add a test for | Charles Davis | 2011-05-27 | 1 | -0/+22 |
| | | | | | | this. XFAIL'd, because the COFF AsmParser can't handle .section yet. llvm-svn: 132220 | ||||
* | Revert r132111. I built Release (without Asserts), so I didn't know about the | Charles Davis | 2011-05-26 | 1 | -2/+0 |
| | | | | | | assert that prevented setting alignment on section creation. llvm-svn: 132113 | ||||
* | Align Win64 EH Table sections to 4 bytes. | Charles Davis | 2011-05-26 | 1 | -0/+2 |
| | | | | llvm-svn: 132111 | ||||
* | Explain FIXME. | Rafael Espindola | 2011-05-24 | 1 | -4/+5 |
| | | | | llvm-svn: 131952 | ||||
* | Fix the defaults for .eh_frame. We were marking it as writable. | Rafael Espindola | 2011-05-24 | 1 | -2/+2 |
| | | | | llvm-svn: 131951 | ||||
* | Fix typo. When will I learn? | Charles Davis | 2011-05-20 | 1 | -1/+0 |
| | | | | llvm-svn: 131765 | ||||
* | Add .pdata and .xdata sections to the COFF TLOF implementation. | Charles Davis | 2011-05-20 | 1 | -0/+15 |
| | | | | llvm-svn: 131763 | ||||
* | Remove a flag that would set the ".eh" symbol as .globl. MachO was the only one | Bill Wendling | 2011-05-05 | 1 | -5/+0 |
| | | | | | | | | who used this flag, and it now emits CFI and doesn't emit this anymore. All other targets left this flag "false". <rdar://problem/8486371> llvm-svn: 130918 | ||||
* | GCC uses a different encoding of pointers in the FDE when using | Rafael Espindola | 2011-05-01 | 1 | -1/+1 |
| | | | | | | -fno-dwarf2-cfi-asm. Implement the same behavior. llvm-svn: 130637 | ||||
* | Remove unnecessary argument. | Rafael Espindola | 2011-04-27 | 1 | -2/+2 |
| | | | | llvm-svn: 130343 | ||||
* | Rename getPersonalityPICSymbol to getCFIPersonalitySymbol, document it, and | Rafael Espindola | 2011-04-27 | 1 | -5/+42 |
| | | | | | | | | | | | | | | | | | | give it a bit more responsibility. Also implement it for MachO. If hacked to use cfi, 32 bit MachO will produce .cfi_personality 155, L___gxx_personality_v0$non_lazy_ptr and 64 bit will produce .cfi_presonality ___gxx_personality_v0 The general idea is that .cfi_personality gets passed the final symbol. It is up to codegen to produce it if using indirect representation (like 32 bit MachO), but it is up to MC to decide which relocations to create. llvm-svn: 130341 | ||||
* | Fix indentation. | Rafael Espindola | 2011-04-27 | 1 | -21/+21 |
| | | | | llvm-svn: 130331 | ||||
* | Remove unused arguments. | Rafael Espindola | 2011-04-20 | 1 | -4/+2 |
| | | | | llvm-svn: 129844 | ||||
* | ADT/Triple: Renambe isOSX... methods to isMacOSX for consistency with the OS | Daniel Dunbar | 2011-04-20 | 1 | -1/+1 |
| | | | | | | triple component. llvm-svn: 129838 | ||||
* | CodeGen: Eliminate a use of getDarwinMajorNumber(). | Daniel Dunbar | 2011-04-19 | 1 | -11/+3 |
| | | | | | | | | | - There is a minor semantic change here (evidenced by the test change) for Darwin triples that have no version component. I debated changing the default behavior of isOSVersionLT, but decided it made more sense for triples to be explicit. llvm-svn: 129802 | ||||
* | Put each personality function in a section. This fixes the gnu ld warning: | Rafael Espindola | 2011-04-16 | 1 | -0/+33 |
| | | | | | | error in foo.o; no .eh_frame_hdr table will be created. llvm-svn: 129635 | ||||
* | Reapply 127939 since Daniel fixed the breakage. <rdar://problem/9012638> | Stuart Hastings | 2011-03-19 | 1 | -7/+4 |
| | | | | llvm-svn: 127944 | ||||
* | Revert 127939. <rdar://problem/9012638> | Stuart Hastings | 2011-03-19 | 1 | -4/+7 |
| | | | | llvm-svn: 127943 | ||||
* | Revise r126127 to address Daniel's comments. <rdar://problem/9012638> | Stuart Hastings | 2011-03-19 | 1 | -7/+4 |
| | | | | llvm-svn: 127939 | ||||
* | Fix llvm-gcc bootstrap with gnu ld. | Rafael Espindola | 2011-02-24 | 1 | -0/+7 |
| | | | | | | | | | | | The problem was codegen guessing the wrong values and printing .section .eh_frame,"aMS",@progbits,4 It is not clear at all if Codegen should try to guess, MC is the one that should know the default flags. llvm-svn: 126421 | ||||
* | Revert r125960, it's breaking darwin10 bootstrap. | Eric Christopher | 2011-02-21 | 1 | -4/+8 |
| | | | | llvm-svn: 126163 | ||||
* | Fix to correctly support attribute((section("__DATA, __common"))). | Stuart Hastings | 2011-02-21 | 1 | -1/+10 |
| | | | | | | Radar 9012638. llvm-svn: 126127 | ||||
* | Reapply r114997 now that the buildbots have been updated. | Bill Wendling | 2011-02-18 | 1 | -8/+4 |
| | | | | llvm-svn: 125960 | ||||
* | Switch llvm to using comdats. For now always use groups with a single | Rafael Espindola | 2011-02-14 | 1 | -23/+9 |
| | | | | | | section. llvm-svn: 125526 | ||||
* | Delay the creation of eh_frame so that the user can change the defaults. | Rafael Espindola | 2011-01-23 | 1 | -20/+23 |
| | | | | | | Add support for SHT_X86_64_UNWIND. llvm-svn: 124059 | ||||
* | Remove more duplicated code. | Rafael Espindola | 2011-01-23 | 1 | -29/+29 |
| | | | | llvm-svn: 124056 |