[llvm-dev] GSoC Idea Project (original) (raw)
Cheng, Xiang via llvm-dev llvm-dev at lists.llvm.org
Wed May 27 12:57:59 PDT 2020
- Previous message: [llvm-dev] [RFC] DebugInfo: A different way of specifying variable locations post-isel
- Next message: [llvm-dev] Range lists, zero-length functions, linker gc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
I'm Xiang Cheng in Gatech and I'm interested in this project: http://llvm.org/OpenProjects.html#llvm_dbg_invariant
I noticed that this project is not in the GSoC selected projects list, so I think nobody is working on this.
Now I try to reproduce this issue on aarch64 Ubuntu-18.04 using the latest LLVM-10 release with following code (http://lists.llvm.org/pipermail/llvm-dev/2019-September/135433.html):
void b(void* d){}
void c(char* cc, void* d){}
void a() { b(a); for (;;) c("", b); } int main(){ a(); return 0; }
I compile it using "-O0 -g" or only "-O0". However, I failed to reproduce the issue since all the outputs have the same instructions in their .text regions (attached below).
Could you please give a sample to reproduce this issue? Or is this bug has been fixed(https://bugs.llvm.org/show_bug.cgi?id=37240)?
Best, Xiang
00000000004004f4 : 4004f4: d10043ff sub sp, sp, #0x10 4004f8: f90007e0 str x0, [sp, #8] 4004fc: 910043ff add sp, sp, #0x10 400500: d65f03c0 ret
0000000000400504 : 400504: d10043ff sub sp, sp, #0x10 400508: f90007e0 str x0, [sp, #8] 40050c: f90003e1 str x1, [sp] 400510: 910043ff add sp, sp, #0x10 400514: d65f03c0 ret
0000000000400544
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200527/2dcd025c/attachment.html>
- Previous message: [llvm-dev] [RFC] DebugInfo: A different way of specifying variable locations post-isel
- Next message: [llvm-dev] Range lists, zero-length functions, linker gc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]