This is an archive of the discontinued LLVM Phabricator instance.

Fix test for debug runtime.
AbandonedPublic

Authored by vitalybuka on Dec 22 2016, 4:12 PM.

Details

Reviewers
eugenis
Summary

If runtime compiled with debug on, main will not be the second frame.

Event Timeline

vitalybuka updated this revision to Diff 82380.Dec 22 2016, 4:12 PM
vitalybuka retitled this revision from to Fix test for debug runtime..
vitalybuka updated this object.
vitalybuka added a reviewer: eugenis.
vitalybuka added a subscriber: llvm-commits.
eugenis edited edge metadata.Dec 22 2016, 4:22 PM

why is that?
the stack trace is grabbed as soon as we enter any interceptor. There should not be any extra frames.
Moreover, compiler-rt is built w/o frame pointers, so it may not be possible to unwind through its code at all!

vitalybuka abandoned this revision.Jan 6 2017, 11:21 AM