[PATCH] D47925: Add debug info for OProfile porifling support

Gaetano Priori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 11 14:44:01 PDT 2018


gipri added a comment.

Yeah effectively it does not need to be.
The reason why I did in the first place is that the Oprofile Wrapper is not calling the op_write_debug_line_info function directly but dinamically binds it to a pointer function.
By being abit scared from that, I made it static so that it could have the same lifetime of the program, whenever so the binded function was called the memory section would outlive it.
But yeah now I tested it and it is not necessary


https://reviews.llvm.org/D47925





More information about the llvm-commits mailing list