aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorAlan Zhao <ayzhao@google.com>2025-02-05 14:37:03 -0800
committerGitHub <noreply@github.com>2025-02-05 14:37:03 -0800
commitfd4c4ed712c14ab80979bcdca121387d83a465ff (patch)
tree94f53786d9ece1243490e7b14d31c253b4b4da48 /clang/lib/Frontend/TestModuleFileExtension.cpp
parent5f7acf7259ec693cf03d6dcc75d9b0ef1a4b4e81 (diff)
downloadllvm-fd4c4ed712c14ab80979bcdca121387d83a465ff.zip
llvm-fd4c4ed712c14ab80979bcdca121387d83a465ff.tar.gz
llvm-fd4c4ed712c14ab80979bcdca121387d83a465ff.tar.bz2
[libc] Add `returns_twice` attribute to `setjmp(3)` (#124370)
This is to ensure that calls to `setjmp(3)` result in correct code generation that respects `setjmp(3)`'s `returns_twice` behavior. Otherwise, we might run into bugs (for example, Clang may perform tail-call optimization on this function if `-fno-builtins` is set (#122840)). --------- Co-authored-by: Nick Desaulniers <nick.desaulniers@gmail.com>
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions