Fix rdynamic flag and test on Windows
authorTamar Christina <tamar@zhox.com>
Tue, 18 Aug 2015 15:59:04 +0000 (17:59 +0200)
committerBen Gamari <bgamari.foss@gmail.com>
Tue, 18 Aug 2015 16:32:28 +0000 (12:32 -0400)
commitb17ec5674f26b0b65dda4ec446e0b9b5336b7562
tree0fbecb3f597d489b7c797c734f59d32c5c5370c8
parentab9403d5e6eb4f0a2e917d7edcd5821262432b26
Fix rdynamic flag and test on Windows

The rdynamic tests and feature are marked broken on windows.
This is because the flag used doesn't exist and the symbol lookup
in the test did not account for platform differences in name mangling.

This commit fixes the flag and tests for rdynamic on windows.

Test Plan:
make TEST="rdynamic"

on both x86 and x86_64

Reviewers: austin, thomie, bgamari

Reviewed By: thomie, bgamari

Subscribers: #ghc_windows_task_force

Differential Revision: https://phabricator.haskell.org/D1149

GHC Trac Issues: #9381
compiler/main/DynFlags.hs
testsuite/tests/rts/all.T
testsuite/tests/rts/rdynamic.hs