fix(test): guard ForcedUnwindTest to glibc only · DataDog/java-profiler@d73f80c · GitHub
Skip to content

Commit d73f80c

Browse files
jbachorikclaude
andcommitted
fix(test): guard ForcedUnwindTest to glibc only
On musl, _Unwind_ForcedUnwind does not invoke the C++ EH personality to run destructors — the tests verify glibc-specific behaviour and must be excluded from musl builds. Correct the comment in libraryPatcher_linux.cpp accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c2eaa07 commit d73f80c

2 files changed

Lines changed: 16 additions & 13 deletions

File tree

‎ddprof-lib/src/main/cpp/libraryPatcher_linux.cpp‎

Lines changed: 10 additions & 6 deletions

‎ddprof-lib/src/test/cpp/forced_unwind_ut.cpp‎

Lines changed: 6 additions & 7 deletions

0 commit comments

Comments
 (0)