Make --enable-heap-profiling=native "work" on Windows.
Three small changes to get things "working"[1]:
1. Implement TraceStackFramePointers using StackTrace, under OS_WIN.
2. Add compile flag to enable frame pointers.
3. Tweak the HAVE_TRACE_STACK_FRAME_POINTERS definition.
This enables native heap profiling in Release+Static builds.
[1] Not perfectly, but enough to un-block related work.
BUG=686208
Review-Url: https://codereview.chromium.org/2707223002
Cr-Commit-Position: refs/heads/master@{#456771}
CrOS-Libchrome-Original-Commit: 93de86905a40d330fd5418a772b7a4ef83491215
3 files changed