陳韋任 via llvm-dev
2017-Jun-09 13:15 UTC
[llvm-dev] Question about Prolog/Epilog Code Insertion
Hi All, When seeing the title "Prolog/Epilog Code Insertion", I'd expect something about XXXFrameLowering.cpp (particular about emitPrologue/emitEpilogue). But the document [1] is about unwind. Is it placed at the right place/section? Thanks. [1] http://llvm.org/docs/CodeGenerator.html#prolog-epilog-code-insertion Regards, chenwj -- Wei-Ren Chen (陳韋任) Homepage: https://people.cs.nctu.edu.tw/~chenwj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170609/bd239477/attachment.html>
Matthias Braun via llvm-dev
2017-Jun-12 18:54 UTC
[llvm-dev] Question about Prolog/Epilog Code Insertion
Please note the very beginning of the document: "Warning: This is a work in progress." This section is at the right place, but indeed it only seems to be talking about one (minor) aspect of it which is the compact unwind info (which is only relevant for apple platforms I think). Unforunately there seems to be no general description yet about the passes tasks and how it is achieving them, I think at the moment it's best to read the sourcecode instead of the the CodeGenerator document... - Matthias> On Jun 9, 2017, at 6:15 AM, 陳韋任 via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi All, > > When seeing the title "Prolog/Epilog Code Insertion", I'd expect something about XXXFrameLowering.cpp > (particular about emitPrologue/emitEpilogue). But the document [1] is about unwind. Is it placed at the right > place/section? > > Thanks. > > [1] http://llvm.org/docs/CodeGenerator.html#prolog-epilog-code-insertion > > Regards, > chenwj > > -- > Wei-Ren Chen (陳韋任) > Homepage: https://people.cs.nctu.edu.tw/~chenwj > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
陳韋任 via llvm-dev
2017-Jun-14 11:33 UTC
[llvm-dev] Question about Prolog/Epilog Code Insertion
I see, thanks. 2017-06-13 2:54 GMT+08:00 Matthias Braun <mbraun at apple.com>:> Please note the very beginning of the document: "Warning: This is a work > in progress." > > This section is at the right place, but indeed it only seems to be talking > about one (minor) aspect of it which is the compact unwind info (which is > only relevant for apple platforms I think). > Unforunately there seems to be no general description yet about the passes > tasks and how it is achieving them, I think at the moment it's best to read > the sourcecode instead of the the CodeGenerator document... > > - Matthias > > > On Jun 9, 2017, at 6:15 AM, 陳韋任 via llvm-dev <llvm-dev at lists.llvm.org> > wrote: > > > > Hi All, > > > > When seeing the title "Prolog/Epilog Code Insertion", I'd expect > something about XXXFrameLowering.cpp > > (particular about emitPrologue/emitEpilogue). But the document [1] is > about unwind. Is it placed at the right > > place/section? > > > > Thanks. > > > > [1] http://llvm.org/docs/CodeGenerator.html#prolog-epilog-code-insertion > > > > Regards, > > chenwj > > > > -- > > Wei-Ren Chen (陳韋任) > > Homepage: https://people.cs.nctu.edu.tw/~chenwj > > _______________________________________________ > > LLVM Developers mailing list > > llvm-dev at lists.llvm.org > > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-- Wei-Ren Chen (陳韋任) Homepage: https://people.cs.nctu.edu.tw/~chenwj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170614/b14167a5/attachment.html>
Apparently Analagous Threads
- [RFC][AArch64] Homogeneous Prolog and Epilog for Size Optimization
- [RFC][AArch64] Homogeneous Prolog and Epilog for Size Optimization
- [LLVMdev] Question. about Machinefunction pass, funtion Prolog/Epilog code, stack frame
- [LLVMdev] Prolog/Epilog Insertion Question
- [LLVMdev] Injecting code before function prolog