Displaying 20 results from an estimated 10000 matches similar to: "Missing dwarf FDE"
2011 Apr 11
0
[LLVMdev] gcroot + `section not found for addresss ...' ???
The linker is going off in the weeds trying to parse the dwarf unwind info. The CIE has:
Leh_frame_common_begin0:
.long 0 ## CIE Identifier Tag
.byte 1 ## DW_CIE_VERSION
.asciz "zLR" ## CIE Augmentation
.byte 1 ## CIE Code Alignment Factor
.byte 120 ## CIE Data Alignment
2011 Apr 12
2
[LLVMdev] gcroot + `section not found for addresss ...' ???
This is an interesting problem. The GC code is being converted into 'invokes' instead of calls:
define i32 @main() gc "shadow-stack" {
entry:
%gc_frame = alloca %gc_stackentry.main
%gc_currhead = load %gc_stackentry** @llvm_gc_root_chain
%gc_frame.map = getelementptr %gc_stackentry.main* %gc_frame, i32 0, i32 0, i32 1
store %gc_map* getelementptr inbounds (%gc_map.0*
2010 Jan 22
0
[LLVMdev] Exception handling question
Hi James,
> I've been trying to get a minimal test function to work, which simply
> invokes _Unwind_RaiseException with a single clean-up landing pad.
> However. when I run it my personality function is not getting called -
> _Unwind_RaiseException simply returns apparently doing nothing. Looking
> at the x86-64 assembly output from llc, I can see this is happening
>
2015 Aug 25
4
GPL Software
Le 25/08/2015 20:39, Renato Golin a écrit :
> I'm also interested in knowing what you did. I think most people here
> would be glad to know your peril and how you solved it.
Stack layout:
C++ code calls
|
|
JITted C code, compiled and linked on the fly tha calls
|
|
C++ code that throws
The throw must pass through the JITted code to arrive at the catch at
the top.
2010 Jan 22
2
[LLVMdev] Exception handling question
2010/1/22 Duncan Sands <baldrick at free.fr>
> Hi James,
>
>
> I've been trying to get a minimal test function to work, which simply
>> invokes _Unwind_RaiseException with a single clean-up landing pad. However.
>> when I run it my personality function is not getting called -
>> _Unwind_RaiseException simply returns apparently doing nothing. Looking at
2013 Feb 06
0
[LLVMdev] [llvm] r174463 - Initial support for DWARF CFI parsing and dumping in LLVM
llvm[2]: Compiling DWARFDebugArangeSet.cpp for Debug+Asserts build
llvm[2]: Compiling DWARFDebugAranges.cpp for Debug+Asserts build
llvm[2]: Compiling DWARFDebugFrame.cpp for Debug+Asserts build
/home/rkotler/llvm_trunk/lib/DebugInfo/DWARFDebugFrame.cpp:118:8: error:
private field 'LinkedCIE' is not used
[-Werror,-Wunused-private-field]
CIE *LinkedCIE;
^
1 error
2019 Oct 07
2
[RFC] Propeller: A frame work for Post Link Optimizations
We would also like to clarify on the misconceptions around CFI Instructions:
There are two things that need to be clarified here:
1) Extra CFI FDE entries for basic blocks does not mean more dynamic
instructions are executed. In fact, they do not increase at all. Krys
talked about this earlier.
2) We do deduplication of common static CFI instructions in the FDE
and move it to the CIE . Hence,
2019 Oct 02
4
[RFC] Propeller: A frame work for Post Link Optimizations
I'm a bit confused by this subthread -- doesn't BOLT have the exact same
CFI bloat issue? From my cursory reading of the propellor doc, the CFI
duplication is _necessary_ to represent discontiguous functions, not
anything particular to the way Propellor happens to generate those
discontiguous functions.
And emitting discontiguous functions is a fundamental goal of this, right?
On Wed,
2019 Oct 08
2
[RFC] Propeller: A frame work for Post Link Optimizations
Some more information about the relaxation pass whose effectiveness
and convergence guarantees were listed as a concern:
TLDR; Our relaxation pass is similar to what LLVM’s MCAssembler does
but with a caveat for efficiency. Our experimental results show it is
efficient and convergence is guaranteed.
Our relaxation pass is very similar to what MCAssembler does as it
needs to solve the same
2011 Apr 10
2
[LLVMdev] gcroot + `section not found for addresss ...' ???
Hi,
If I type
define i32 @main() gc "shadow-stack" {
entry:
%0 = alloca i8*
%1 = call i8* @malloc(i64 1)
store i8* %1, i8** %0
call void @llvm.gcroot(i8** %0, i8* null)
ret i32 0
}
declare i8* @malloc(i64)
declare void @llvm.gcroot(i8**, i8*) nounwind
in test.ll
and then do
> llc test.ll
> gcc test.s
I get the error
ld: in
2017 Nov 15
2
答复: hi, Is there any solution about how to add some dwarf info to the IR bitcode file.
Hi Andrew
I am newbie. There are many headers and classes, I do not know how to use to add dwarf info to bc file.
Can you show me the demo or example, is there any info about how to use these classes step by step.
BR
Owen
发件人: Andrew Kelley [mailto:superjoe30 at gmail.com]
发送时间: 2017年11月15日 12:51
收件人: Wuweijia <wuweijia at huawei.com>
抄送: 陳韋任
2017 Jun 09
2
[Newbie Question] Compute a schedule region's scheduled cycles.
Also you might need to check use PostRASchedulerList or
PostMachineScheduler,
PostRASchedulerList is considered deprecated as mentioned in [1].
[1] http://lists.llvm.org/pipermail/llvm-dev/2017-April/112348.html
HTH,
chenwj
2017-06-10 4:03 GMT+08:00 陳韋任 <chenwj.cs97g at g2.nctu.edu.tw>:
> Not saying I am totally understand how thing works, but I think you're
> misleading
>
2010 Jan 21
4
[LLVMdev] Exception handling question
Hi,
I'm trying to get exception handling working in my compiler targetting LLVM.
I've been working from the LLVM exception handling documentation (including
http://llvm.org/docs/ExceptionHandling.html and
http://wiki.llvm.org/HowTo:_Build_JIT_based_Exception_mechanism) and looking
at g++-llvm's output.
I've been trying to get a minimal test function to work, which simply
invokes
2017 Apr 02
2
Which doxygen doc should I look into?
Thanks for the info, Philip. I will update the LLVM Programmer’s Manual first.
Regards,
chenwj
Wei-Ren Chen (陳韋任)
Homepage: https://people.cs.nctu.edu.tw/~chenwj
2017-04-02 18:11 GMT+08:00 Philip Pfaffe <philip.pfaffe at gmail.com>:
> Hi chenwj,
>
> http://llvm.org/doxygen/Statistic_8h_source.html is the correct one. The
> other two are remnants from older doxygen deployments.
2011 Apr 12
0
[LLVMdev] gcroot + `section not found for addresss ...' ???
Hi Bill,
> However, there isn't a personality function associated here. This conflicts with the fact that there's an LSDA associated with the function. It's not really feasible that there would be an LSDA but no personality function.
GCC recently added support for this, i.e. a situation in which there are only
cleanups to be run: it uses the C personality function even if the
2012 Sep 13
5
[LLVMdev] Fail to compile LLVM on Gentoo Linux
Hi all,
I think it's Gentoo's bug, but I want to know if anyone has the same
issue here. I am compiling LLVM trunk on Gentoo (gcc 4.5.2), and I get
error message below,
---
make[4]: Entering directory `/nfs_home/chenwj/llvm-3.1/svn/build/tools/clang/lib/Frontend'
llvm[4]: Compiling InitHeaderSearch.cpp for Release+Asserts build
2012 Sep 13
3
[LLVMdev] Fail to compile LLVM on Gentoo Linux
On Sep 12, 2012, at 8:50 PM, Sean Silva <silvas at purdue.edu> wrote:
>> /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/lib/Frontend/InitHeaderSearch.cpp:197:1: internal compiler error: in extract_insn, at recog.c:2103
>
> I think that this is a GCC ICE.
Yes, very definitely.
Jim
>
> --Sean Silva
>
> On Wed, Sep 12, 2012 at 10:53 PM, 陳韋任 (Wei-Ren Chen)
>
2010 Sep 01
2
[LLVMdev] "Cannot fine DIE"
On Wed, Sep 1, 2010 at 5:31 AM, Jonas Maebe <jonas.maebe at elis.ugent.be>wrote:
>
> On 01 Sep 2010, at 08:47, Talin wrote:
>
> > Once again, I have no idea what this means or how to go about
> > debugging it.
> > This is my biggest frustration with DIFactory - there's absolutely
> > no way to
> > verify that the DWARF debugging information that
2012 Sep 17
0
[LLVMdev] Fail to compile LLVM on Gentoo Linux
Hi.
This is a known gcc bug
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53670). GCC 4.5 can't
compile clang 3.1
On 13 September 2012 06:53, 陳韋任 (Wei-Ren Chen) <chenwj at iis.sinica.edu.tw> wrote:
> Hi all,
>
> I think it's Gentoo's bug, but I want to know if anyone has the same
> issue here. I am compiling LLVM trunk on Gentoo (gcc 4.5.2), and I get
> error
2010 Jan 22
0
[LLVMdev] Exception handling question
2010/1/22 James Williams <junk at giantblob.com>
>
>
> 2010/1/22 Duncan Sands <baldrick at free.fr>
>
> Hi James,
>>
>>
>> I've been trying to get a minimal test function to work, which simply
>>> invokes _Unwind_RaiseException with a single clean-up landing pad. However.
>>> when I run it my personality function is not getting