-
Notifications
You must be signed in to change notification settings - Fork 444
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mcount: Wrap __cxa_guard_abort() for exception handling
When a static variable is defined in a function (local variable), C++ seems to add a hidden guard variable to protect it from concurrent accesses in a multi-threaded program. But it has an exception handling logic with __cxa_guard_abort() which should be passed to libmcount too. Signed-off-by: Namhyung Kim <namhyung@gmail.com>
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters