Hello, Everyone.
Attached patch will allow llvm-gcc correctly generate PIC code, when
-fPIC flag is supplied (surely, the PIC codegen patch for LLVM itself
should be applied as well)
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
Changes in directory llvm/lib/Target/X86:
X86ATTAsmPrinter.cpp updated: 1.81 -> 1.82
---
Log message:
gcc often inserts it's own names for sections (e.g.
gnu.linkonce.t.FunctionName). Convert them to "normal" LLVM names,
otherwise linker won't be able to merge them.
---
Diffs of the changes
Chris,
I believe this patch has broken these two instcombine tests:
FAIL:
/proj/llvm/llvm-3/test/Regression/Transforms/InstCombine/2003-11-13-ConstExprCastCall.ll:
child process exited abnormally
call i32 (...)* bitcast (void (i8*)* %free to i32 (...)*)( i32*
%X.pntr.s1.u0 ) ; :
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.584 -> 1.585
---
Log message:
Fix regressions in InstCombine/call-cast-target.ll and
InstCombine/2003-11-13-ConstExprCastCall.ll
---
Diffs of the changes: (+5 -1)
InstructionCombining.cpp |6 +-
1
On Jan 6, 2007, at 9:51 AM, Reid Spencer wrote:
> I believe this patch has broken these two instcombine tests:
>
> FAIL: /proj/llvm/llvm-3/test/Regression/Transforms/InstCombine/
> 2003-11-13-ConstExprCastCall.ll:
> FAIL: /proj/llvm/llvm-3/test/Regression/Transforms/InstCombine/call-
> cast-targ
GCC is making type-inconsistent trees when forming globals with
pointers to methods in them. This handles it.
-Chris
Index: llvm-convert.cpp
===
--- llvm-convert.cpp(revision 122082)
+++ llvm-convert.cpp(working copy)
@@
This fixes PR1083 and test/Regression/CFrontend/2007-01-06-KNR-Proto.c
Index: llvm-convert.cpp
===
--- llvm-convert.cpp(revision 122081)
+++ llvm-convert.cpp(working copy)
@@ -209,14 +209,20 @@
void HandleScalarArgument(
> gcc often inserts it's own names for sections (e.g.
> gnu.linkonce.t.FunctionName). Convert them to "normal" LLVM names,
> otherwise linker won't be able to merge them.
Can you be a bit more explicit about what this fixes?
-Chris
>
> ---
> Diffs of the changes: (+7 -2)
>
> X86ATTAsmPrinter.c
On Jan 6, 2007, at 1:39 PM, Chris Lattner wrote:
>> gcc often inserts it's own names for sections (e.g.
>> gnu.linkonce.t.FunctionName). Convert them to "normal" LLVM names,
>> otherwise linker won't be able to merge them.
>
> Can you be a bit more explicit about what this fixes?
Okay, Anton poi
This fixes PR1085 on ELF systems, darwin doesn't suffer from this
problem.
Testcase here: Regression/C++Frontend/2007-01-06-ELF-Thunk-Sections.cpp
Index: method.c
===
--- method.c(revision 122081)
+++ method.c(working copy
Changes in directory llvm/lib/Transforms/Scalar:
IndVarSimplify.cpp updated: 1.100 -> 1.101
---
Log message:
add -debug output for -indvars.
---
Diffs of the changes: (+19 -6)
IndVarSimplify.cpp | 25 +++--
1 files changed, 19 insertions(+), 6 deletions(-)
Index: ll
Changes in directory llvm/test/Regression/C++Frontend:
2007-01-06-ELF-Thunk-Sections.cpp added (r1.1)
---
Log message:
Testcase for PR1085: http://llvm.org/PR1085
---
Diffs of the changes: (+50 -0)
2007-01-06-ELF-Thunk-Sections.cpp | 50 ++
1 files ch
Changes in directory llvm/docs:
ProgrammersManual.html updated: 1.101 -> 1.102
---
Log message:
Update the documentation for SymbolTable class.
---
Diffs of the changes: (+13 -63)
ProgrammersManual.html | 76 -
1 files changed, 13 insertion
Changes in directory llvm/lib/Target/X86:
X86ATTAsmPrinter.cpp updated: 1.82 -> 1.83
---
Log message:
As PR1085: http://llvm.org/PR1085 was fixed, back out workaround
---
Diffs of the changes: (+1 -6)
X86ATTAsmPrinter.cpp |7 +--
1 files changed, 1 insertion(+), 6 deletions(-)
I
Changes in directory llvm/lib/Support:
CStringMap.cpp updated: 1.2 -> 1.3
---
Log message:
wow, the link was already broken :)
---
Diffs of the changes: (+1 -1)
CStringMap.cpp |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Support/CStringMap.cpp
diff -u llvm/li
Changes in directory llvm/tools/lto:
lto.cpp updated: 1.27 -> 1.28
---
Log message:
fix typo
---
Diffs of the changes: (+1 -1)
lto.cpp |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/tools/lto/lto.cpp
diff -u llvm/tools/lto/lto.cpp:1.27 llvm/tools/lto/lto.cpp:1.28
-
Changes in directory llvm/lib/Support:
CStringMap.cpp updated: 1.1 -> 1.2
---
Log message:
add a note
---
Diffs of the changes: (+4 -1)
CStringMap.cpp |5 -
1 files changed, 4 insertions(+), 1 deletion(-)
Index: llvm/lib/Support/CStringMap.cpp
diff -u llvm/lib/Support/CStringMap.
Changes in directory llvm/include/llvm-c:
LinkTimeOptimizer.h added (r1.1)
---
Log message:
Add C wrappers for the LTO library (PR1081: http://llvm.org/PR1081 ). Patch by
Chandler Carruth!
---
Diffs of the changes: (+58 -0)
LinkTimeOptimizer.h | 58 +
Changes in directory llvm/lib/Target/PowerPC:
PPCTargetMachine.cpp updated: 1.111 -> 1.112
---
Log message:
Disable the macho writer until it is 100% functional. Enabling it when
broken invites bug reports.
---
Diffs of the changes: (+3 -0)
PPCTargetMachine.cpp |3 +++
1 files changed
Changes in directory llvm/test/Regression/CFrontend:
2007-01-06-KNR-Proto.c added (r1.1)
---
Log message:
testcase for pr1083: http://llvm.org/PR1083
---
Diffs of the changes: (+10 -0)
2007-01-06-KNR-Proto.c | 10 ++
1 files changed, 10 insertions(+)
Index: llvm/test/Regressio
Changes in directory llvm/test/Regression/Transforms/LoopSimplify:
2006-08-11-LoopSimplifyLongTime.ll (r1.1) removed
2006-08-11-LoopSimplifyLongTime.ll.bc (r1.5) removed
---
Log message:
this testcase is too large to be useful, and requires a .bc file to be
kept around. We can do without it.
Changes in directory llvm/tools/lto:
lto-c.cpp added (r1.1)
---
Log message:
Add C wrappers for the LTO library (PR1081: http://llvm.org/PR1081 ). Patch by
Chandler Carruth!
---
Diffs of the changes: (+66 -0)
lto-c.cpp | 66 ++
Changes in directory llvm/test/Regression/C++Frontend:
2007-01-06-PtrMethodInit.cpp added (r1.1)
---
Log message:
New testcase for PR1084: http://llvm.org/PR1084
---
Diffs of the changes: (+75 -0)
2007-01-06-PtrMethodInit.cpp | 75 +++
1 files cha
Changes in directory llvm/include/llvm-c:
---
Log message:
Directory /home/vadve/shared/PublicCVS/llvm/include/llvm-c added to the
repository
---
Diffs of the changes: (+0 -0)
0 files changed
___
llvm-commits mailing list
llvm-commits@cs.uiuc
Oh My,
Do you know how many hours I've spent maintaining that .bc file over the
last few months?
:(
Reid.
On Sat, 2007-01-06 at 16:02 -0600, Chris Lattner wrote:
>
> Changes in directory llvm/test/Regression/Transforms/LoopSimplify:
>
> 2006-08-11-LoopSimplifyLongTime.ll (r1.1) removed
> 2006
On Sat, 2007-01-06 at 14:06 -0800, Chris Lattner wrote:
> On Jan 6, 2007, at 1:39 PM, Chris Lattner wrote:
>
> >> gcc often inserts it's own names for sections (e.g.
> >> gnu.linkonce.t.FunctionName). Convert them to "normal" LLVM names,
> >> otherwise linker won't be able to merge them.
> >
> > C
On Jan 6, 2007, at 5:26 PM, Reid Spencer wrote:
> Oh My,
>
> Do you know how many hours I've spent maintaining that .bc file
> over the
> last few months?
That's why I removed it, so you (or anyone else) doesn't have to
anymore...
-Chris
___
llvm-
Changes in directory llvm/lib/Analysis:
ScalarEvolution.cpp updated: 1.78 -> 1.79
---
Log message:
cast of int to bool no longer does a compare, rendering this fixme
obsolete
---
Diffs of the changes: (+0 -1)
ScalarEvolution.cpp |1 -
1 files changed, 1 deletion(-)
Index: llvm/lib/An
Changes in directory llvm/test/Regression/Transforms/IndVarsSimplify:
2007-01-06-TripCount.ll added (r1.1)
---
Log message:
Testcase for PR1015: http://llvm.org/PR1015
---
Diffs of the changes: (+53 -0)
2007-01-06-TripCount.ll | 53
1 fil
Changes in directory llvm/lib/Analysis:
ScalarEvolution.cpp updated: 1.79 -> 1.80
---
Log message:
Fix PR1015: http://llvm.org/PR1015 and
Transforms/IndVarsSimplify/2007-01-06-TripCount.ll, a
miscompilation of Qt.
---
Diffs of the changes: (+15 -1)
ScalarEvolution.cpp | 16
Changes in directory llvm/test/Regression/Transforms/IndVarsSimplify:
2007-01-06-TripCount.ll updated: 1.1 -> 1.2
---
Log message:
Simplify the testcase
---
Diffs of the changes: (+0 -11)
2007-01-06-TripCount.ll | 11 ---
1 files changed, 11 deletions(-)
Index: llvm/test/Regres
Hi all,
I committed this patch. It's one that was committed Apple's GCC. It
solves a problem where an address gotten from a map could be stomped
on by a subsequent call-back function.
-bw
In the libcpp directory:
2007-01-06 Bill Wendling <[EMAIL PROTECTED]>
Radar 4897123
Changes in directory llvm/lib/Target/CBackend:
Writer.cpp updated: 1.303 -> 1.304
---
Log message:
For PR1086: http://llvm.org/PR1086 :
Parameter attributes do have to be specially handled in the CBE. Implement
their handling.
---
Diffs of the changes: (+54 -30)
Writer.cpp | 84 +
33 matches
Mail list logo