Clang assembly for GCC with Dwarf on Darwin
AbandonedPublic

Authored by carter on Nov 15 2018, 1:37 PM.

Details

Reviewers
bgamari
erikd
simonmar
Trac Issues
#15207
Summary

work in progress for getting dwarf support working for a gcc built
GHC on OSX

Test Plan

Get the build to succeed

Diff Detail

carter created this revision.Nov 15 2018, 1:37 PM

@simonmar @bgamari I'm wiring this Assembly file up to the build system wrong .... any wisdom would be apprciated

carter updated this revision to Diff 18908.Nov 27 2018, 11:06 AM

hard coded some logic so the assembly unconditionally runs,
means it probably wont work on not GCC mac or other platforms

(because i dont know how to adjust the build system to be happy right now
)

this patch works, but because of the one hacky bit on the build system will probably ONLY work for gcc build ghc on mac

rts/ghc.mk
52

this is my current hack, but it shouldn't be needed,

not sure how i'm doing my workaround wrong :(

another fix would be to on OSX always invoke /usr/bin/clang always for the stgCRun.c file

62

i wanted this to work, but for some reason i did the logic wrong :(

Harbormaster edited this Differential Revision.Nov 27 2018, 4:37 PM
lelf added a subscriber: lelf.Dec 20 2018, 9:47 PM

What is the status of this, @carter?

bgamari abandoned this revision.Mar 26 2019, 10:17 AM

Going to close in favor of more recent work on GitLab.