summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Drop mergeable flag, if size is no suitableAnton Korobeynikov2008-07-091-2/+8
| | | | llvm-svn: 53313
* Fix several bugs in named sections handlingAnton Korobeynikov2008-07-091-11/+9
| | | | llvm-svn: 53312
* Add hacky way to distinguish named and named sections. This will be ↵Anton Korobeynikov2008-07-091-5/+32
| | | | | | generalized in the future. llvm-svn: 53311
* Add funny darwin section selection logicAnton Korobeynikov2008-07-091-13/+118
| | | | llvm-svn: 53307
* Handle ELF mergeable sectionsAnton Korobeynikov2008-07-091-2/+63
| | | | llvm-svn: 53306
* Provide section selection for X86 ELF targetsAnton Korobeynikov2008-07-091-64/+45
| | | | llvm-svn: 53305
* Provide general hook for section name calculationAnton Korobeynikov2008-07-091-6/+6
| | | | llvm-svn: 53304
* Print entity size for mergeable sectionsAnton Korobeynikov2008-07-091-1/+2
| | | | llvm-svn: 53303
* Split PrintSectionFlagsAnton Korobeynikov2008-07-091-80/+68
| | | | llvm-svn: 53302
* Split UniqueSectionForGlobal()Anton Korobeynikov2008-07-091-31/+25
| | | | llvm-svn: 53301
* Split PreferredEHDataFormat hookAnton Korobeynikov2008-07-091-52/+81
| | | | llvm-svn: 53300
* Split X86TargetAsmInfo into 4 subtarget-specific classesAnton Korobeynikov2008-07-091-189/+186
| | | | llvm-svn: 53299
* Whitespace cleanupAnton Korobeynikov2008-07-091-16/+16
| | | | llvm-svn: 53298
* Move flag decoding stuff into special hookAnton Korobeynikov2008-07-091-17/+24
| | | | llvm-svn: 53297
* Properly handle linkonce stuffAnton Korobeynikov2008-07-091-30/+82
| | | | llvm-svn: 53296
* Provide skeletone code for calculation of section, where global should be ↵Anton Korobeynikov2008-07-091-2/+95
| | | | | | emitted into llvm-svn: 53295
* Linux also does not require exception handlingDuncan Sands2008-07-041-1/+0
| | | | | | | | | moves in order to get correct debug info. Since I can't imagine how any target could possibly be any different, I've just stripped out the option: now all the world's like Darwin! llvm-svn: 53134
* Darwin doesn't need exception handling information for the "move" info whenBill Wendling2008-07-011-0/+1
| | | | | | debug information is being output, because it's leet! llvm-svn: 52994
* Add StringConstantPrefix to control what theDale Johannesen2008-06-031-0/+1
| | | | | | assembler names of string constants look like. llvm-svn: 51909
* Output correct exception handling and frame infoDuncan Sands2008-05-071-2/+0
| | | | | | | | | | | | | | | | | | on x86-64 linux. This causes no regressions on 32 bit linux and 32 bit ppc. More tests pass on 64 bit ppc with no regressions. I didn't turn on eh on 64 bit linux because the intrinsics needed to compile the eh runtime aren't done yet. But if you turn it on and link with the mainline runtime then eh seems to work fine on x86-64 linux with this patch. Thanks to Dale for testing. The main point of the patch is that if you output that some object is encoded using 4 bytes you had better not output 8 bytes for it: the patch makes everything consistent. llvm-svn: 50825
* Use a dedicated IsLinux flag instead of an ELFLinux TargetType.Dan Gohman2008-05-051-2/+1
| | | | llvm-svn: 50649
* Add AsmPrinter support for emitting a directive to declare thatDan Gohman2008-05-051-0/+5
| | | | | | | | | the code being generated does not require an executable stack. Also, add target-specific code to make use of this on Linux on x86. llvm-svn: 50634
* API changes for class Use size reduction, wave 1.Gabor Greif2008-04-061-1/+1
| | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277
* Use ## for comment delimiter on darwin x86-32, soDale Johannesen2008-03-251-2/+3
| | | | | | | | llvm's output .s files will go through gcc -std=c99 without triggering preprocesser errors. Approach suggested by Daveed Vandevoorde. llvm-svn: 48808
* A quick nm audit turned up several fixed tables and objects that wereDan Gohman2008-03-251-1/+2
| | | | | | | marked read-write. Use const so that they can be allocated in a read-only segment. llvm-svn: 48800
* On Darwin, GCC issues a ".globl" for something that has a "visibility protected"Bill Wendling2008-03-181-0/+1
| | | | | | attribute instead of ".protected". llvm-svn: 48516
* Use enumeration for preffered EH dwarf encoding reasonAnton Korobeynikov2008-02-291-5/+6
| | | | llvm-svn: 47770
* Add a quick and dirty "loop aligner pass". x86 uses it to align its loops to ↵Evan Cheng2008-02-281-0/+1
| | | | | | 16-byte boundaries. llvm-svn: 47703
* Preparation step for some cleanup/generalization in EH information emission:Anton Korobeynikov2008-02-271-1/+65
| | | | | | provide TAI hook for selection of EH data emission format. Currently unused. llvm-svn: 47699
* Fix and enable EH for x86-64 Darwin. AddsDale Johannesen2008-01-151-4/+11
| | | | | | | | | ShortenEHDataFor64Bits as a not-very-accurate abstraction to cover all the changes in DwarfWriter. Some cosmetic changes to Darwin assembly code for gcc testsuite compatibility. llvm-svn: 46029
* Weak things initialized to 0 don't go in bss on Darwin.Dale Johannesen2008-01-111-1/+1
| | | | | | | Cosmetic changes to spacing to match gcc (some dejagnu tests actually care). llvm-svn: 45848
* Emit unused EH frames for weak definitions on Darwin,Dale Johannesen2008-01-101-3/+4
| | | | | | | because assembler/linker can't cope with weak absolutes. PR 1880. llvm-svn: 45811
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Fix .eh table linkage issues on Darwin. Some EH supportDale Johannesen2007-11-201-0/+2
| | | | | | for Darwin PPC, but it's not fully working yet. llvm-svn: 44258
* Revert previous; these files aren't ready to go in yet.Dale Johannesen2007-11-131-1/+2
| | | | llvm-svn: 44057
* Add parameter to getDwarfRegNum to permit targetsDale Johannesen2007-11-131-2/+1
| | | | | | | | to use different mappings for EH and debug info; no functional change yet. Fix warning in X86CodeEmitter. llvm-svn: 44056
* Add a bool to indicate if we should set the "indirect encoding" bit in the DwarfBill Wendling2007-09-111-0/+1
| | | | | | information for EH. llvm-svn: 41852
* The personality function on Darwin needs a global stub. We then refer toBill Wendling2007-09-111-0/+2
| | | | | | that global stub instead of doing the ".set" thingy we were doing before. llvm-svn: 41838
* Add the PCSymbol for Darwin x86 platforms.Bill Wendling2007-08-221-0/+1
| | | | llvm-svn: 41284
* Use only 1 knob to enable exceptions on Darwin :). Anton Korobeynikov2007-08-211-0/+8
| | | | llvm-svn: 41208
* This is the patch to provide clean intrinsic function overloading support in ↵Chandler Carruth2007-08-041-2/+2
| | | | | | | | LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It will be used by the upcoming atomic intrinsics as well as vector and float intrinsics in the future. This also changes the syntax for llvm.bswap, llvm.part.set, llvm.part.select, and llvm.ct* intrinsics. They are automatically upgraded by both the LLVM ASM reader and the bitcode reader. The test cases have been updated, with special tests added to ensure the automatic upgrading is supported. llvm-svn: 40807
* Minor cleanup:Anton Korobeynikov2007-07-251-1/+4
| | | | | | | - Split EH and debug infiormation - Make DwarfWriter more verbose in some cases llvm-svn: 40481
* Long live the exception handling!Anton Korobeynikov2007-07-141-2/+3
| | | | | | | | | | | | | | | This patch fills the last necessary bits to enable exceptions handling in LLVM. Currently only on x86-32/linux. In fact, this patch adds necessary intrinsics (and their lowering) which represent really weird target-specific gcc builtins used inside unwinder. After corresponding llvm-gcc patch will land (easy) exceptions should be more or less workable. However, exceptions handling support should not be thought as 'finished': I expect many small and not so small glitches everywhere. llvm-svn: 39855
* Remove a redundant newline in the asm output for ELF .rodata sections.Dan Gohman2007-06-271-1/+1
| | | | llvm-svn: 37756
* More DWARF-related things cleanup:Anton Korobeynikov2007-05-121-2/+0
| | | | | | | | | | 1. Fix PR1380 2. Apply Duncan's patch from PR1410 3. Insert workaround for "one personality function per module" as noted in PR1414 4. Emit correct debug frames for x86/linux. This partly fixes DebugInfo/2006-11-06-StackTrace.cpp: stack trace is shown correctly, but arguments for function on top of stack are displayed incorrectly. llvm-svn: 37015
* Emit sections/directives in the proper order. This fixes PR1376. Also,Anton Korobeynikov2007-05-051-16/+13
| | | | | | some small cleanup was made. llvm-svn: 36780
* Sets the section names for fixed-size constants and use the mergeableDan Gohman2007-05-031-0/+5
| | | | | | | | flag for ELF on x86 so that duplicate constants can be eliminated by the linker. This matches what GCC does with its -fmerge-constants option, which is enabled at most -O levels. llvm-svn: 36666
* Fix couple of bugs connected with eh info:Anton Korobeynikov2007-05-011-2/+4
| | | | | | | 1. Correct output offsets on Linux 2. Fix "style" of personality function. It shouldn't be indirect. llvm-svn: 36633
* Use correct PC symbolAnton Korobeynikov2007-05-011-0/+2
| | | | llvm-svn: 36628
* Adjust correct EH-related sectionsAnton Korobeynikov2007-05-011-0/+4
| | | | llvm-svn: 36627
OpenPOWER on IntegriCloud