aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorJoachim Protze <protze@itc.rwth-aachen.de>2020-11-18 12:49:19 +0100
committerJoachim Protze <protze@itc.rwth-aachen.de>2020-11-25 18:17:44 +0100
commit6d3b81664a4b79b32ed2c2f46b21ab0dca9029cc (patch)
tree6c428f2bb6e5bce6497cffb027462df38b188e81 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentb281a05dacb485d3c3c9cc7f7f5e8fb858ac67bc (diff)
downloadllvm-6d3b81664a4b79b32ed2c2f46b21ab0dca9029cc.zip
llvm-6d3b81664a4b79b32ed2c2f46b21ab0dca9029cc.tar.gz
llvm-6d3b81664a4b79b32ed2c2f46b21ab0dca9029cc.tar.bz2
[OpenMP][OMPT] Introduce a guard to handle OMPT return address
This is an alternative approach to address inconsistencies pointed out in: D90078 This patch makes sure that the return address is reset, when leaving the scope. In some cases, I had to move the macro out of an if-statement to have it in the right scope, in some cases I added an additional block to restrict the scope. This patch does not handle inconsistencies, which might occur if the return address is still set when we call into the application. Test case (repeated_calls.c) provided by @hbae Differential Revision: https://reviews.llvm.org/D91692
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions