Displaying 20 results from an estimated 800 matches similar to: "[LLVMdev] sjlj-exceptions handlying"
2009 Feb 17
0
[LLVMdev] sjlj-exceptions handlying
On Tuesday 17 February 2009 02:21:55 zhengjian zhang wrote:
> in llvm-backend did't support sjlj-exceptions handlying,but support
> dwarf-excceptions handlying,
> my question is: if i want change llvm-backend to support, how should i Do ?
> anyone can give some clue?
It's hard to say - I'm not sure anyone here knows how gcc handles sj/lj
style exceptions, or has a good
2009 Feb 18
0
[LLVMdev] sjlj-exceptions handlying
my ugly way about the sjlj-eh is: in the last part of the llvm codegen
build some relative sjlj-eh runtime function. ok, why i do like that,
because i want quick run of the sjlj-en for my target.,
above method,based on the dwarf-eh(llvm used), now the other work of
my method are emit except table,
also base on llvm, now i have problem about the emit except table for
sjlj. because llvm used
2009 Jun 15
1
[LLVMdev] eh_sjlj_setjmp/ongjmp ?
Hi,
I have checkout llvm from the svn, eh_sjlj_setjmp/longjmp
intrinsics had beed added !
but it seems llvm-gcc does't generate the eh_sjlj_setjmp/longjmp
intrinsics now ?
best regards
zhangzw
2009 Mar 26
1
[LLVMdev] how to get the InvodInst 's Operand Name?
Hi Duncan,
>>I don't get it.
Sorry my bad English! hehe.
>>What has this got to do with determining the
>>names "@__cxa_throw" and "@_ZTi"?
Record the Information into the MachineModule Info, so in Dwarfwriter
or SjLjWriter(my sjlj-eh name)
can build the except table correctly!
2009/3/26 Duncan Sands <baldrick at free.fr>:
> Hi zhangzw,
2009 Mar 27
1
[LLVMdev] LLVMdev Digest, Vol 57, Issue 51
Hi Evan,
>>Is it possible to implement it without using MachineModuleInfo?
but llvm-2.5 didn't , if implement it without using MachineModuleInfo, so
I should create another ADT, but that is mostly same to MachineModuleInfo,
that's repeat work! or less cost for me !
>> It's being removed.
if so, what's the replacement of the MachineModuleInfo ?
zhangzw
2009 May 11
0
[LLVMdev] Exception handling
Hi,
>On the other hand, it's not completely possible to separate it from
>the front end either since different languages can have different
>semantics. Ada, C++, Objective C, etc.. Sometimes these can be handled
>the same way under the hood, but it's dangerous for the compiler to
>assume that to be true. At least some knowledge needs to be in the
>front end code-gen.
2009 May 05
1
[LLVMdev] how to resolve llvm exception IR?
hi,
I'm doing to make llvm backend support sjlj-eh! I have try to
use the llvm-IR to generate the sjlj-eh code,
but I'm totally despair !
my major problem is that llvm-ir , I mean exception instrinstics
are enough for codegen the sjlj-eh code? May I need to modify the
llvm-gcc ?
or someone can give some advice about llvm-backend 's support sjlj-eh ?
best regards
2009 Feb 17
2
[LLVMdev] sjlj-exceptions handlying
On Feb 17, 2009, at 12:50 AM, Duncan Sands wrote:
> I'm not sure anyone here knows how gcc handles sj/lj style exceptions,
Or, reworded slightly, some people here wrote it. :-)
2009 Feb 17
0
[LLVMdev] sjlj-exceptions handlying
> > I'm not sure anyone here knows how gcc handles sj/lj style exceptions,
>
> Or, reworded slightly, some people here wrote it. :-)
Excellent! To handle dwarf eh, LLVM has an intrinsic to get hold of
an exception object (eh.exception) and an intrinsic for matching the
exception against a list of typeinfo objects (eh.selector). These
get morphed into calls to the gcc unwinder
2009 Feb 17
0
[LLVMdev] sjlj-exceptions handlying
On Tuesday 17 February 2009 18:04:43 Mike Stump wrote:
> On Feb 17, 2009, at 8:59 AM, Duncan Sands wrote:
> > Excellent! To handle dwarf eh, LLVM has an intrinsic to get hold of
> > an exception object (eh.exception) and an intrinsic for matching the
> > exception against a list of typeinfo objects (eh.selector). These
> > get morphed into calls to the gcc unwinder lib
2009 Feb 17
3
[LLVMdev] sjlj-exceptions handlying
On Feb 17, 2009, at 8:59 AM, Duncan Sands wrote:
> Excellent! To handle dwarf eh, LLVM has an intrinsic to get hold of
> an exception object (eh.exception) and an intrinsic for matching the
> exception against a list of typeinfo objects (eh.selector). These
> get morphed into calls to the gcc unwinder lib by the code generator.
> Can sj/lj follow a similar scheme?
Don't see
2009 Apr 28
3
[LLVMdev] how to resolve llvm exception IR?
here are the cpp file:
$ cat -n eh1.catch.cpp
1 #include <iostream>
2
3 int main()
4 {
5 try {
6 throw 78;
7 }
8 catch (int){
9
10 std::cout << "at catch\n";
11
12 }
13 }
LLVM-IR:
$ llvm-g++ -S -emit-llvm eh1.catch.cpp -o eh1.catch.ll
...
46 define i32 @main() {
2009 May 07
2
[LLVMdev] the different semantics between dwarf-eh and sjlj-eh
Hi,
>> from the exist llvm-ir it seems there are some common info for sjlj-eh
>> and dwarf-eh!
>> are there possible use the exist llvm-ir to generate exception table
> >for sjlj-eh ?
>No. There should be support from llvm-gcc. sjlj eh and dwarf eh have
>different semantics
different semantics ? !
I think llvm-gcc generate the IR should not include the exception
2009 May 06
0
[LLVMdev] SJLJ EH
Hi,
>There's definitely more to it than the current intrinsics, which are
>there to support dwarf.
from the exist llvm-ir it seems there are some common info for sjlj-eh
and dwarf-eh!
are there possible use the exist llvm-ir to generate exception table
for sjlj-eh ?
zhangzw
2009 May 07
0
[LLVMdev] llvm-gcc's sjlj-eh support
Hi,
many people suggest that if we want llvm to support sjlj-eh, we
should modify the llvm-gcc to generate sjlj-style IR.
yeah, I'm digging into the llvm-gcc now. there are some functions,
at the llvm-gcc
e.g
TreeToLLVM::CreateExceptionValues() ,
BasicBlock *TreeToLLVM::getPostPad(unsigned RegionNo),
void TreeToLLVM::EmitLandingPads(),
void TreeToLLVM::EmitPostPads() ,
void
2006 Jul 06
3
[Fwd: How to listen port under 1024 with non-root user]
I make a simple mail program which need listen port 25 and 110.but i
found it's imposible , after searching with google i found non-root user
can't listen port under 1024.at first i try a script(witch lauch my
program) and use setuid but that still did't work.any way can handle
this.
Thanks for any help.
-------------- next part --------------
An embedded message was scrubbed...
From:
2009 May 12
1
[LLVMdev] How distinguish Catch all llvm-IR from other catch type ?
Hi,
catch_all.cpp:
1 int main()
2 {
3 try {
4 throw 34;
5 }
6 catch (...) {}
7 }
llvm-gcc -O3 -S -emit-llvm catch_all.cpp -o catch_all.ll:
1 ; ModuleID = 'catch_all.cpp'
2 target datalayout =
2006 Oct 04
2
Possible bug?
This morning I downloaded R-2.4.0 and install in under Windows. I customized
the installation and choose "Message translations",but I could not launch
Rgui.exe successfully( Rterm.exe worked fine). If I did't choose "Message
translations", Rgui.exe worked fine.
"Message translations" is Simplified Chinese.
> version
_
platform
2004 Mar 19
6
samba mounting files
Hi
whenever i try to mount a samba share which is a samba server i get an error
message that says "smbmnt must be installed suid root for direct
mounts(500, 500) smbmnt failed1"
On that note i tried to run "smbmount" as root but this did't work out. i also
tried to run smbmnt as root, up to now my problem was not solved.
Anybody there who can help please?
Thanks.
2010 Feb 08
1
Color intervals in image.plot function
Hi,
The script below is my current coding in order to produce a contour plot of temperature across altitude and time. In my case,?time,altitude and temperature?are represented by x, y and z variables.
##############################################
Brazilan.Pallete <- colorRampPalette(c("blue","green","yellow","red"))
image.plot(x, y, z, col =