| #
9bb44a5c |
| 09-Nov-2010 |
Rafael Espindola <[email protected]> |
Fixed version of 118639 with an extra assert to catch similar problems earlier. Implicit bool -> int conversions are evil!
llvm-svn: 118651
|
| #
0f83d968 |
| 27-Oct-2010 |
Michael J. Spencer <[email protected]> |
COFF: Add IMAGE_SCN_MEM_READ to text sections.
There are currently 100 references to COFF::IMAGE_SCN in 6 files and 11 different functions. Section to attribute mapping really needs to happen in one
COFF: Add IMAGE_SCN_MEM_READ to text sections.
There are currently 100 references to COFF::IMAGE_SCN in 6 files and 11 different functions. Section to attribute mapping really needs to happen in one place to avoid problems like this.
llvm-svn: 117473
show more ...
|
| #
fbdab0d6 |
| 27-Oct-2010 |
Michael J. Spencer <[email protected]> |
Fix whitespace.
llvm-svn: 117472
|
| #
392f084f |
| 19-Oct-2010 |
NAKAMURA Takumi <[email protected]> |
lib/CodeGen/TargetLoweringObjectFileImpl.cpp: Tweak to emit ".{section}${name}" instead of ".{section}$linkonce_{name}" for linkonce sections.
It seems GNU ld/PECOFF relies on section names, linking
lib/CodeGen/TargetLoweringObjectFileImpl.cpp: Tweak to emit ".{section}${name}" instead of ".{section}$linkonce_{name}" for linkonce sections.
It seems GNU ld/PECOFF relies on section names, linking with g++'s libstdc++.a would fail.
llvm-svn: 116791
show more ...
|
| #
fc3642b2 |
| 08-Oct-2010 |
Anton Korobeynikov <[email protected]> |
Do not check that the bodies of two defs of same linkonce global are the same. Such a check does not make any sense in presense of inlining and other compiler-dependent stuff. This should fix bunch o
Do not check that the bodies of two defs of same linkonce global are the same. Such a check does not make any sense in presense of inlining and other compiler-dependent stuff. This should fix bunch of warnings on mingw32.
llvm-svn: 116113
show more ...
|
|
Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3 |
|
| #
b0b2c571 |
| 28-Sep-2010 |
Bill Wendling <[email protected]> |
Revert r114997. It was causing a failure on darwin10-selfhost.
llvm-svn: 115002
|
| #
d848beb1 |
| 28-Sep-2010 |
Bill Wendling <[email protected]> |
Fix a FIXME. _foo.eh symbols are currently always exported so that the linker knows about them. This is not necessary on 10.6 and later.
llvm-svn: 114997
|
| #
9f06f911 |
| 27-Sep-2010 |
Chris Lattner <[email protected]> |
the latest assembler that runs on powerpc 10.4 machines doesn't support aligned comm. Detect when compiling for 10.4 and don't emit an alignment for comm. THis will hopefully fix PR8198.
llvm-svn:
the latest assembler that runs on powerpc 10.4 machines doesn't support aligned comm. Detect when compiling for 10.4 and don't emit an alignment for comm. THis will hopefully fix PR8198.
llvm-svn: 114817
show more ...
|
|
Revision tags: llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0 |
|
| #
34bfab0a |
| 30-Aug-2010 |
Chris Lattner <[email protected]> |
two changes: 1) nuke ConstDataCoalSection, which is dead. 2) revise my previous patch for rdar://8018335, which was completely wrong. Specifically, it doesn't make sense to mark __TEXT,__const_
two changes: 1) nuke ConstDataCoalSection, which is dead. 2) revise my previous patch for rdar://8018335, which was completely wrong. Specifically, it doesn't make sense to mark __TEXT,__const_coal as PURE_INSTRUCTIONS, because it is for readonly data. templates (it turns out) go to const_coal_nt. The real fix for rdar://8018335 was to give ConstTextCoalSection a section kind of ReadOnly instead of Text.
llvm-svn: 112496
show more ...
|
| #
60b13165 |
| 15-Jul-2010 |
Chris Lattner <[email protected]> |
fix the definitions of ConstTextCoalSection/ConstDataCoalSection to keep "Text" in sync with the "pure instructions" section attribute. Lack of this attribute was preventing the assembler from emitti
fix the definitions of ConstTextCoalSection/ConstDataCoalSection to keep "Text" in sync with the "pure instructions" section attribute. Lack of this attribute was preventing the assembler from emitting multibyte noops instructions for templates (and inlines, and other coalesced stuff) and was causing the assembler to mismatch .o files.
This fixes rdar://8018335
llvm-svn: 108461
show more ...
|
| #
e4152304 |
| 06-Jul-2010 |
Anton Korobeynikov <[email protected]> |
Fix a major regression on COFF targets introduced by r103267: 'discardable' section means that it is used only during the program load and can be discarded afterwards. This way *only* debug sections
Fix a major regression on COFF targets introduced by r103267: 'discardable' section means that it is used only during the program load and can be discarded afterwards. This way *only* debug sections can be discarded, but not the opposite. Seems like the copy-and-pasto from ELF code, since there it contains the reverse flag ('alloc').
llvm-svn: 107658
show more ...
|
| #
329d2023 |
| 01-Jul-2010 |
Daniel Dunbar <[email protected]> |
MC: Move COFF enumeration constants to llvm/Support/COFF.h, patch by Michael Spencer!
llvm-svn: 107418
|
| #
36321717 |
| 29-Jun-2010 |
Bill Wendling <[email protected]> |
Revert r107205 and r107207.
llvm-svn: 107215
|
| #
1767723d |
| 29-Jun-2010 |
Bill Wendling <[email protected]> |
Introducing the "linker_weak" linkage type. This will be used for Objective-C metadata types which should be marked as "weak", but which the linker will remove upon final linkage. For example, the "o
Introducing the "linker_weak" linkage type. This will be used for Objective-C metadata types which should be marked as "weak", but which the linker will remove upon final linkage. For example, the "objc_msgSend_fixup_alloc" symbol is defined like this:
.globl l_objc_msgSend_fixup_alloc .weak_definition l_objc_msgSend_fixup_alloc .section __DATA, __objc_msgrefs, coalesced .align 3 l_objc_msgSend_fixup_alloc: .quad _objc_msgSend_fixup .quad L_OBJC_METH_VAR_NAME_1
This is different from the "linker_private" linkage type, because it can't have the metadata defined with ".weak_definition".
llvm-svn: 107205
show more ...
|
| #
19a4b843 |
| 25-May-2010 |
Eric Christopher <[email protected]> |
Add support for initialized global data for darwin tls. Update comments and testcases accordingly.
llvm-svn: 104635
|
| #
6fdea1bd |
| 22-May-2010 |
Eric Christopher <[email protected]> |
Add full bss data support for darwin tls variables.
llvm-svn: 104414
|
| #
9635b3da |
| 17-May-2010 |
Eric Christopher <[email protected]> |
More data/parsing support for tls directives. Add a few more testcases and cleanup comments as well.
llvm-svn: 103985
|
| #
bf792385 |
| 17-May-2010 |
Eric Christopher <[email protected]> |
Add some section and constant support for darwin TLS.
llvm-svn: 103974
|
| #
02844932 |
| 07-May-2010 |
Chris Lattner <[email protected]> |
add COFF support for COMDAT sections, patch by Nathan Jeffords!
llvm-svn: 103304
|
| #
87cffa94 |
| 07-May-2010 |
Chris Lattner <[email protected]> |
switch MCSectionCOFF from a syntactic to semantic representation, patch by Peter Housel!
llvm-svn: 103267
|
|
Revision tags: llvmorg-2.7.0 |
|
| #
5b212a31 |
| 13-Apr-2010 |
Chris Lattner <[email protected]> |
add llvm codegen support for -ffunction-sections and -fdata-sections, patch by Sylvere Teissier!
llvm-svn: 101106
|
| #
80c34592 |
| 08-Apr-2010 |
Chris Lattner <[email protected]> |
delete a forwarding function.
llvm-svn: 100815
|
| #
5418dd5f |
| 08-Apr-2010 |
Chris Lattner <[email protected]> |
move elf section uniquing to MCContext. Along the way merge XCore's section into MCSectionELF
llvm-svn: 100812
|
| #
433d4069 |
| 08-Apr-2010 |
Chris Lattner <[email protected]> |
remove the TargetLoweringObjectFileMachO::getMachoSection api and update clients to use MCContext instead.
llvm-svn: 100808
|
| #
2073112f |
| 08-Apr-2010 |
Chris Lattner <[email protected]> |
move macho section uniquing from MCParser and TLOF to MCContext where the compiler and asmparser now unique to the same sections. This fixes rdar://7835021.
llvm-svn: 100807
|