[llvm-dev] Detect stack overflow

Kavindu Gimhan Zoysa via llvm-dev llvm-dev at lists.llvm.org
Mon Jun 21 22:31:49 PDT 2021


Hi all,

Please note that the above example is wrong. This is the correct example,
sorry for the confusion.


>
>
>
>
>
> *define void @foo() unnamed_addr #1 {start:  call void @foo()  br label
> %bb1bb1:                                               ret void}*



Kavindu Gimhan Zoysa,
BSc(Hons) | ENTC | UoM,
ATL | WSO2

GitHub <https://github.com/KavinduZoysa> LinkedIn
<https://www.linkedin.com/in/kavindu-gimhan-zoysa-85939a122/> Medium
<https://medium.com/@kavindugimhanzoysa>


On Tue, 22 Jun 2021 at 09:28, Kavindu Gimhan Zoysa <kavindu175 at gmail.com>
wrote:

> Hi All,
>
> What is the best way of detecting stack overflow(for example shown below)
> using LLVM?
>
> define void @foo() unnamed_addr #1 {
>> start:
>>   call void @bar()
>>   br label %bb1
>> bb1:
>>   ret void
>> }
>
>
> Thank you,
> Kavindu
>
> Kavindu Gimhan Zoysa,
> BSc(Hons) | ENTC | UoM,
> ATL | WSO2
>
> GitHub <https://github.com/KavinduZoysa> LinkedIn
> <https://www.linkedin.com/in/kavindu-gimhan-zoysa-85939a122/> Medium
> <https://medium.com/@kavindugimhanzoysa>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210622/a16bcf4c/attachment.html>


More information about the llvm-dev mailing list