зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1751823 - Add UBSan suppression to test. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D147230
This commit is contained in:
Родитель
d6d284c124
Коммит
08f38dc0db
|
@ -142,8 +142,12 @@ struct StackWalkTester {
|
|||
return 0;
|
||||
}
|
||||
|
||||
MOZ_NEVER_INLINE MOZ_EXPORT static void LeafCallback(
|
||||
int aDepth, int aLastSkipped, int aIgnored, StackWalkTester& aTester) {
|
||||
#if defined(__clang__)
|
||||
__attribute__((no_sanitize("function")))
|
||||
#endif
|
||||
MOZ_NEVER_INLINE MOZ_EXPORT static void
|
||||
LeafCallback(int aDepth, int aLastSkipped, int aIgnored,
|
||||
StackWalkTester& aTester) {
|
||||
if (aDepth == aLastSkipped) {
|
||||
aTester.mFirstFramePC = CallerPC();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче