History log of /llvm-project/llvm/lib/Target/TargetLoweringObjectFile.cpp (Results 151 – 175 of 235)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# cd2915e4 19-Jan-2010 Chris Lattner <sabre@nondot.org>

stop using the .lcomm pseudoop on darwin, instead, directly use the
.zerofill directive. Streamerize its generation.

llvm-svn: 93868


# b2534217 19-Jan-2010 Chris Lattner <sabre@nondot.org>

make TLOF subclassify BSS based on linkage type into private, external
and everything else (weak).

llvm-svn: 93846


# a986aa33 19-Jan-2010 Chris Lattner <sabre@nondot.org>

fix a significant difference between llvm and gcc on ELF systems:
GCC would put weak zero initialized mutable data in the .bss section,
we would put it into a crasy '.gnu.linkonce.b.test,"aw",@nobits

fix a significant difference between llvm and gcc on ELF systems:
GCC would put weak zero initialized mutable data in the .bss section,
we would put it into a crasy '.gnu.linkonce.b.test,"aw",@nobits'
section. Fixing this will allow simplifications next up.

llvm-svn: 93844

show more ...


# 5b585f8b 19-Jan-2010 Chris Lattner <sabre@nondot.org>

introduce a section kind for common linkage. Use this to slightly
simplify and commonize some of the asmprinter logic for globals.

This also avoids printing the MCSection for .zerofill, which broke

introduce a section kind for common linkage. Use this to slightly
simplify and commonize some of the asmprinter logic for globals.

This also avoids printing the MCSection for .zerofill, which broke
the llvm-gcc build.

llvm-svn: 93843

show more ...


# 1d371882 19-Jan-2010 Chris Lattner <sabre@nondot.org>

Cleanup handling of .zerofill on darwin:

1. TargetLoweringObjectFileMachO should decide if something
goes in zerofill instead of having every target do it.
2. TargetLoweringObjectFileMachO should

Cleanup handling of .zerofill on darwin:

1. TargetLoweringObjectFileMachO should decide if something
goes in zerofill instead of having every target do it.
2. TargetLoweringObjectFileMachO should assign said symbols to
the right MCSection, the asmprinters should just emit to the
right section.
3. Since all zerofill stuff goes through mcstreamer anymore,
MAI can have a bool "haszerofill" instead of having the textual
directive to emit.

llvm-svn: 93838

show more ...


# 83e872e1 17-Jan-2010 Chris Lattner <sabre@nondot.org>

Get MCSymbol out of the mangling business, and move all the logic
to Mangler. Now MCSymbol just decides whether to slap quotes around
a symbol when printing it.

This also fixes some weirdness where

Get MCSymbol out of the mangling business, and move all the logic
to Mangler. Now MCSymbol just decides whether to slap quotes around
a symbol when printing it.

This also fixes some weirdness where two MCSymbols could be created
for the same symbol, if one needed to be mangled and got mangled to
the other one.

llvm-svn: 93690

show more ...


# f62e3ee8 16-Jan-2010 Chris Lattner <sabre@nondot.org>

move the mangler into libtarget from vmcore.

llvm-svn: 93664


# a44d8f80 16-Jan-2010 Chris Lattner <sabre@nondot.org>

fix build failure.

llvm-svn: 93628


# 32c95121 16-Jan-2010 Chris Lattner <sabre@nondot.org>

remove a couple of actively incorrect uses of getMangledName.

llvm-svn: 93627


# ccbeed2a 13-Jan-2010 Chris Lattner <sabre@nondot.org>

fix ELF section mangling stuff for weak symbols to not use
obsolete Mangler interfaces.

llvm-svn: 93356


# 643b817d 13-Jan-2010 Chris Lattner <sabre@nondot.org>

Use the GV version of getNameWithPrefix in TargetLoweringObjectFileCOFF::
SelectSectionForGlobal, unbreaking weak globals with no-name.

llvm-svn: 93336


# b0dc959e 13-Jan-2010 Chris Lattner <sabre@nondot.org>

add a fixme, ELF MCSection isn't quite right and weak unnamed globals are broken
on linux (even though they are pointless, they shouldn't ICE).

llvm-svn: 93308


# f0a401fc 13-Jan-2010 Chris Lattner <sabre@nondot.org>

eliminate some uses of Mangler::makeNameProper.

llvm-svn: 93305


# 209aecad 13-Jan-2010 Chris Lattner <sabre@nondot.org>

change Mangler::makeNameProper to return its result in a SmallVector
instead of returning it in an std::string. Based on this change:

1. Change TargetLoweringObjectFileCOFF::getCOFFSection to take

change Mangler::makeNameProper to return its result in a SmallVector
instead of returning it in an std::string. Based on this change:

1. Change TargetLoweringObjectFileCOFF::getCOFFSection to take a StringRef
2. Change a bunch of targets to call makeNameProper with a smallstring,
making several of them *much* more efficient.
3. Rewrite Mangler::makeNameProper to not build names and then prepend
prefixes, not use temporary std::strings, and to avoid other crimes.

llvm-svn: 93298

show more ...


# 36ef435e 07-Jan-2010 Eric Christopher <echristo@apple.com>

We need to put any kind of data with a relocation into a
not-readonly segment on darwin.

llvm-svn: 92933


# 31c74dbb 19-Nov-2009 Bill Wendling <isanbard@gmail.com>

Reverting the EH table patches.

$ svn merge -c -89279 https://llvm.org/svn/llvm-project/llvm/trunk
--- Reverse-merging r89279 into '.':
U lib/CodeGen/AsmPrinter/DwarfException.cpp
U lib/Target

Reverting the EH table patches.

$ svn merge -c -89279 https://llvm.org/svn/llvm-project/llvm/trunk
--- Reverse-merging r89279 into '.':
U lib/CodeGen/AsmPrinter/DwarfException.cpp
U lib/Target/TargetLoweringObjectFile.cpp
$ svn merge -c -89270 https://llvm.org/svn/llvm-project/llvm/trunk
--- Reverse-merging r89270 into '.':
G lib/CodeGen/AsmPrinter/DwarfException.cpp
G lib/Target/TargetLoweringObjectFile.cpp

llvm-svn: 89379

show more ...


# 4b384b02 19-Nov-2009 Bill Wendling <isanbard@gmail.com>

The "ReadOnlyWithRel" enum seems to apply more to what Darwin does with the EH
exception table than DataRel.

llvm-svn: 89279


# 07e6e2c6 18-Nov-2009 Bill Wendling <isanbard@gmail.com>

Attempt #2:

Place the EH table in the __TEXT section on MachO. It saves space.

llvm-svn: 89270


# d82510e1 07-Nov-2009 Chris Lattner <sabre@nondot.org>

add some missing #includes

llvm-svn: 86367


# ad36e8ac 06-Nov-2009 Daniel Dunbar <daniel@zuster.org>

Pass StringRef by value.

llvm-svn: 86251


Revision tags: llvmorg-2.6.0
# 692a3ea0 20-Sep-2009 Bill Wendling <isanbard@gmail.com>

--- Reverse-merging r82282 into '.':
U lib/CodeGen/AsmPrinter/DwarfException.cpp
U lib/CodeGen/AsmPrinter/DwarfException.h

--- Reverse-merging r82274 into '.':
U lib/Target/TargetLoweringOb

--- Reverse-merging r82282 into '.':
U lib/CodeGen/AsmPrinter/DwarfException.cpp
U lib/CodeGen/AsmPrinter/DwarfException.h

--- Reverse-merging r82274 into '.':
U lib/Target/TargetLoweringObjectFile.cpp
G lib/CodeGen/AsmPrinter/DwarfException.cpp

These revisions were breaking everything.

llvm-svn: 82396

show more ...


# f878d707 20-Sep-2009 Bill Wendling <isanbard@gmail.com>

Still one more thing wrong here...

llvm-svn: 82356


# 0f899601 20-Sep-2009 Bill Wendling <isanbard@gmail.com>

Here's fun! It turns out that these filter functions can be internal. If they're
internal, they shouldn't use the indirect pointer stuff. In the case of
throw_rethrow_test, it was marked as 'internal

Here's fun! It turns out that these filter functions can be internal. If they're
internal, they shouldn't use the indirect pointer stuff. In the case of
throw_rethrow_test, it was marked as 'internal' and calculated its own offset to
its contents.

llvm-svn: 82354

show more ...


# 85689b20 19-Sep-2009 Bill Wendling <isanbard@gmail.com>

Revert r82274. It's causing failures in the CINT2006 benchmarks.

llvm-svn: 82336


# 43f2cd77 18-Sep-2009 Bill Wendling <isanbard@gmail.com>

It's inefficient to have place the exception tables (which contain the LSDA)
into the __DATA section. At launch time, dyld has to update most of the section
to fix up the type info pointers. It's bet

It's inefficient to have place the exception tables (which contain the LSDA)
into the __DATA section. At launch time, dyld has to update most of the section
to fix up the type info pointers. It's better to place it into the __TEXT
section and use pc-rel indirect pointer encodings. Similar to the personality
routine.

llvm-svn: 82274

show more ...


12345678910