summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetAsmInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* move mangler quote handling from asm printers to TargetAsmInfo.Chris Lattner2009-06-181-0/+1
| | | | llvm-svn: 73738
* simplify macro debug info directive handling.Chris Lattner2009-06-181-3/+3
| | | | llvm-svn: 73736
* On Darwin, ams printer should output a second label before a jump table so ↵Evan Cheng2009-06-181-4/+4
| | | | | | the linker knows it's a new atom. But this is only needed if the jump table is put in a separate section from the function body. llvm-svn: 73720
* Reapply 68847.Devang Patel2009-04-131-0/+2
| | | | | | Now debug_inlined section is covered by TAI->doesDwarfUsesInlineInfoSection(), which is false by default. llvm-svn: 68964
* Revert r68847. It breaks the build on non-Darwin targets, with this messageDan Gohman2009-04-111-1/+0
| | | | | | | from the assembler: Error: unknown pseudo-op: `.debug_inlined' llvm-svn: 68863
* Keep track of inlined functions and their locations. This information is ↵Devang Patel2009-04-111-0/+1
| | | | | | | | collected when nested llvm.dbg.func.start intrinsics are seen. (Right now, inliner removes nested llvm.dbg.func.start intrinisics during inlining.) Create debug_inlined dwarf section using these information. This info is used by gdb, at least on Darwin, to enable better experience debugging inlined functions. See DwarfWriter.cpp for more information on structure of debug_inlined section. llvm-svn: 68847
* Do not propagate ELF-specific stuff (data.rel) into other targets. This ↵Anton Korobeynikov2009-03-301-1/+6
| | | | | | simplifies code and also ensures correctness. llvm-svn: 68032
* Add data.rel stuffAnton Korobeynikov2009-03-301-6/+1
| | | | llvm-svn: 68031
* Recognize bswapl as bswap too.Dan Gohman2009-03-171-2/+5
| | | | llvm-svn: 67072
* Recognize "bswapq" as an alternate spelling for the bswap instruction.Dan Gohman2009-03-171-2/+2
| | | | llvm-svn: 67071
* Recognize inline asm for bswap on x86-64 GLIBC. This allows itDan Gohman2009-01-211-1/+11
| | | | | | to be supported in the JIT. llvm-svn: 62730
* Revert r61415 and r61484. Duncan was correct that these weren't needed.Bill Wendling2009-01-051-2/+0
| | | | llvm-svn: 61765
* 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
OpenPOWER on IntegriCloud