summaryrefslogtreecommitdiff
path: root/linker/linker_utils.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2019-05-13 13:15:50 -0700
committerJosh Gao <jmgao@google.com>2019-05-13 13:17:51 -0700
commit34033155210f5b9bd449a7db8a6220dcbc44386d (patch)
tree84bf1e0ea17ab7cf118827fbc1b8f32a41b68ff2 /linker/linker_utils.cpp
parent2c02e45f4b4ad997ea681993601c9f67bf96a2ca (diff)
Annotate no_return and returns_twice functions.
When building the bionic tests, we use -fno-builtins, which turns off clang's recognition of vfork as a magical function that can return twice. Explicitly annotate our returns_twice functions to ensure that we generate correct code even in -fno-builtins (and while we're at it, annotate the no_return functions as well, so we generate faster code). Bug: http://b/131856005 Test: treehugger Change-Id: I465f8042a965f0c7c03caa5f17af67deea8f5d9d
Diffstat (limited to 'linker/linker_utils.cpp')
0 files changed, 0 insertions, 0 deletions