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
tree: e27efad293f5f18669ab8227ed17f3d41f79f625
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/