Fix windows validate
authorTamar Christina <tamar@zhox.com>
Thu, 17 Nov 2016 00:45:17 +0000 (00:45 +0000)
committerTamar Christina <tamar@zhox.com>
Thu, 17 Nov 2016 00:45:17 +0000 (00:45 +0000)
commitb76958671cda1df9f6f0e1d54d681144d09cb06e
treeb0b40eca43a715f6bad88d0db064ca22114ebf4f
parent8dfca69f2339d8d6719f57a4592d35c7d09cca5f
Fix windows validate

Summary:
mark myindex as inline only and hide it from profilers.
Also prevent this function from being used any other way
than just for inlining.

Test Plan: ./validate

Reviewers: austin, erikd, simonmar, bgamari

Reviewed By: bgamari

Subscribers: thomie, #ghc_windows_task_force

Differential Revision: https://phabricator.haskell.org/D2715
rts/LinkerInternals.h