aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authornerix <nerixdev@outlook.de>2025-07-15 20:38:43 +0200
committerGitHub <noreply@github.com>2025-07-15 11:38:43 -0700
commit95fa67603c4ab5d75a2f8df328d7da5580466d50 (patch)
tree2709315fbf7b6628fa4af30b3f615a7b57256c5a /clang/lib/Frontend/CompilerInvocation.cpp
parenta9021e5373f814a7bce561147828dcb7ec2abb24 (diff)
downloadllvm-95fa67603c4ab5d75a2f8df328d7da5580466d50.zip
llvm-95fa67603c4ab5d75a2f8df328d7da5580466d50.tar.gz
llvm-95fa67603c4ab5d75a2f8df328d7da5580466d50.tar.bz2
[LLDB] Compile API tests with exceptions enabled on Windows (#148691)
From #148554 - compile tests with exceptions on Windows (`-fno-exceptions` was added 11 years ago in c7826524acda6a9c8816261d5c48b94dc92935ed). The variant test uses `try {} catch {}` to create variants that are valueless by exception. On other platforms, exceptions are enabled as well. I have no clue why compiling with exceptions will optimize out `a_long_guy` in the changed test (even with `-O0`). Taking the address of that value will ensure it's kept.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions