Егор Зудин via llvm-dev
2020-Nov-12 14:37 UTC
[llvm-dev] Clang plugin causes changes in debug information
Hi, I noticed that using even a simple plugin for clang sometimes causes some shifts in debug info of produced object files.Source code of the plugin is attached. Could anyone answer if it is expected behaviour? And what causes it if so. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201112/108073ba/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: SimplePlugin.cpp Type: application/octet-stream Size: 1206 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201112/108073ba/attachment.obj>
Andrzej Warzynski via llvm-dev
2020-Nov-13 17:49 UTC
[llvm-dev] Clang plugin causes changes in debug information
+cfe-dev I suspect that the compiler driver generates slightly different jobs, depending on how it's run (with plugin vs without plugins). It would help if you could clarify how you generate your outputs and in exactly what way they differ. -Andrzej On 12/11/2020 14:37, Егор Зудин via llvm-dev wrote:> Hi, > > I noticed that using even a simple plugin for clang sometimes causes > some shifts in debug info of produced object files.Source code of the > plugin is attached. > > Could anyone answer if it is expected behaviour? And what causes it if so. > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >
Apparently Analagous Threads
- [cfe-dev] [flang-dev] [RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM
- Looking for an out-of-source "Hello, world" LLVM/Clang pass example
- [flang-dev] [cfe-dev] [RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM
- [flang-dev] [RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM
- [flang-dev] [RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM