summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* squash warnings.Devang Patel2009-01-051-0/+1
| | | | llvm-svn: 61707
* Linux wants the FDE initial location and address range to be forced to 32-bit.Bill Wendling2008-12-291-0/+1
| | | | | | Darwin doesn't. Make this optional for platforms. llvm-svn: 61484
* Darwin likes for the EH frame to be non-local.Bill Wendling2008-12-241-0/+1
| | | | llvm-svn: 61420
* GCC doesn't emit DW_EH_PE_sdata4 for the FDE encoding on Darwin. I'm not sureBill Wendling2008-12-241-0/+1
| | | | | | about other platforms. llvm-svn: 61415
* Fix bug 3202.Rafael Espindola2008-12-191-0/+10
| | | | | | | The EH_frame and .eh symbols are now private, except for darwin9 and earlier. The patch also fixes the definition of PrivateGlobalPrefix on pcc linux. llvm-svn: 61242
* Fix bug 3140.Rafael Espindola2008-12-031-0/+3
| | | | | | Print a single parameter .file directive if we have an ELF target. llvm-svn: 60480
* Refactor various TargetAsmInfo subclasses' TargetMachine members awayDan Gohman2008-11-031-10/+9
| | | | | | adding a TargetMachine member to the base TargetAsmInfo class instead. llvm-svn: 58624
* Fix weird think-o and unbreak build on all gcc-3.4.x-based platforms (e.g. ↵Anton Korobeynikov2008-10-051-87/+84
| | | | | | mingw) llvm-svn: 57106
* Reapply 56585:56589 with proper fix for some gcc versionsAnton Korobeynikov2008-09-251-26/+26
| | | | llvm-svn: 56621
* Temporarily backing out 56585:56589 to unbreak the build.Evan Cheng2008-09-251-22/+26
| | | | llvm-svn: 56607
* Minor cleanupAnton Korobeynikov2008-09-241-0/+2
| | | | llvm-svn: 56588
* Use crazy template-based inheritance instead of virtual one.Anton Korobeynikov2008-09-241-26/+20
| | | | llvm-svn: 56585
* Get rid of ReadOnlySection duplicateAnton Korobeynikov2008-09-241-3/+0
| | | | llvm-svn: 56582
* Get rid of now unused {Four,Eight,Sixteen}ByteConstantSectionAnton Korobeynikov2008-09-241-8/+2
| | | | llvm-svn: 56580
* Get rid of duplicate char*/Section* DataSectionAnton Korobeynikov2008-09-241-1/+2
| | | | llvm-svn: 56575
* Get rid of duplicate char*/Section* TextSectionAnton Korobeynikov2008-09-241-1/+1
| | | | llvm-svn: 56574
* Fix logic for not emitting no-dead-strip for someDale Johannesen2008-09-091-0/+1
| | | | | | | | | | objects in llvm.used (thanks Anton). Makes visible the magic 'l' prefix for symbols on Darwin which are to be passed through the assembler, then removed at linktime (previously all references to this had been hidden in the ObjC FE code, oh well). llvm-svn: 55973
* Reapply 55901: Drop unused variableAnton Korobeynikov2008-09-081-1/+0
| | | | llvm-svn: 55957
* Reapply 55900: We do support EH on x86-64!Anton Korobeynikov2008-09-081-2/+1
| | | | llvm-svn: 55956
* Reverting r55898 to r55909. One of these patches was causing an ICE during ↵Bill Wendling2008-09-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the full bootstrap on Darwin: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/xgcc -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/bin/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/lib/ -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/include -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include -DSHARED -m64 -DL_negdi2 -c ../../llvm-gcc.src/gcc/libgcc2.c -o libgcc/x86_64/_negdi2_s.o Assertion failed: (TargetRegisterInfo::isVirtualRegister(regA) && TargetRegisterInfo::isVirtualRegister(regB) && "cannot update physical register live information"), function runOnMachineFunction, file /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/lib/CodeGen/TwoAddressInstructionPass.cpp, line 311. /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/xgcc -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.obj/./gcc/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/bin/ -B/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/lib/ -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/include -isystem /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm-gcc.install/i386-apple-darwin9.4.0/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../llvm-gcc.src/gcc -I../../llvm-gcc.src/gcc/. -I../../llvm-gcc.src/gcc/../include -I./../intl -I../../llvm-gcc.src/gcc/../libcpp/include -I../../llvm-gcc.src/gcc/../libdecnumber -I../libdecnumber -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.obj/include -I/Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/include -DSHARED -m64 -DL_lshrdi3 -c ../../llvm-gcc.src/gcc/libgcc2.c -o libgcc/x86_64/_lshrdi3_s.o ../../llvm-gcc.src/gcc/unwind-dw2.c:1527: internal compiler error: Abort trap Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://developer.apple.com/bugreporter> for instructions. {standard input}:unknown:Undefined local symbol LBB21_11 {standard input}:unknown:Undefined local symbol LBB21_12 {standard input}:unknown:Undefined local symbol LBB21_13 {standard input}:unknown:Undefined local symbol LBB21_8 llvm-svn: 55928
* Drop unused variableAnton Korobeynikov2008-09-081-1/+0
| | | | llvm-svn: 55901
* We do support EH on x86-64!Anton Korobeynikov2008-09-081-2/+1
| | | | llvm-svn: 55900
* Reduce heap trashing due to std::string construction / concatenation via ↵Anton Korobeynikov2008-08-161-1/+1
| | | | | | caching of section flags string representations llvm-svn: 54842
* GeneralizeAnton Korobeynikov2008-08-081-2/+4
| | | | llvm-svn: 54542
* Fix a FIXME :)Anton Korobeynikov2008-07-191-0/+2
| | | | llvm-svn: 53789
* Use generic ELFTargetAsmInfo and DarwinTargetAsmInfo for X86 codeAnton Korobeynikov2008-07-191-242/+11
| | | | llvm-svn: 53788
* Remove a FIXME: we really need to use const_data section on darwin forAnton Korobeynikov2008-07-091-3/+4
| | | | | | | constant pool, if relocation model is not static. This directly maps to the way how GCC works. llvm-svn: 53370
* Add FIXME for future checking.Anton Korobeynikov2008-07-091-0/+2
| | | | llvm-svn: 53368
* Add missed sectionAnton Korobeynikov2008-07-091-0/+1
| | | | llvm-svn: 53354
* Distinguish .const and .const_data on Darwin, when needed. This is somehow ↵Anton Korobeynikov2008-07-091-1/+3
| | | | | | crazy :) llvm-svn: 53350
* Weak stuff always goes to coalesced sections on DarwinAnton Korobeynikov2008-07-091-2/+6
| | | | llvm-svn: 53340
* Add FIXME needed to be resolved laterAnton Korobeynikov2008-07-091-0/+1
| | | | llvm-svn: 53324
* TypoAnton Korobeynikov2008-07-091-1/+1
| | | | llvm-svn: 53322
* First sketch of special section objectsAnton Korobeynikov2008-07-091-159/+97
| | | | llvm-svn: 53320
* Honour text sectionsAnton Korobeynikov2008-07-091-1/+1
| | | | llvm-svn: 53319
* Use isWeakForLinker() hookAnton Korobeynikov2008-07-091-6/+2
| | | | llvm-svn: 53318
* Another bunch of hacks for named sections supportAnton Korobeynikov2008-07-091-10/+20
| | | | llvm-svn: 53315
* TypoAnton Korobeynikov2008-07-091-1/+1
| | | | llvm-svn: 53314
* 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
OpenPOWER on IntegriCloud