Closed Bug 821358 Opened 13 years ago Closed 13 years ago

Port the trace-malloc Windows TLS macros to DMD

Categories

(Core :: DMD, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20
Tracking Status
firefox19 --- fixed
firefox20 --- fixed
b2g18 --- fixed

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

Attached patch Patch (v1)Splinter Review
I'm not sure if the patch here is this simple... Nick?
Attachment #691872 - Flags: review?(n.nethercote)
Comment on attachment 691872 [details] [diff] [review] Patch (v1) Review of attachment 691872 [details] [diff] [review]: ----------------------------------------------------------------- As far as I know this is all that's needed. But I'm a total neophyte when it comes to Windows development Does this patch allow DMD.cpp to compile? If it does, you might be in a position to actually run DMD on Windows. Try following the instructions at https://wiki.mozilla.org/Performance/MemShrink/DMD for Linux, but instead of LD_PRELOAD set MOZ_REPLACE_MALLOC_LIB, and point it at whatever the name of the libdmd library is...
Attachment #691872 - Flags: review?(n.nethercote) → review+
This does not yet let me build this on Windows, but the rest should be fairly simple. I'm not sure when I'll have enough cycles to try things out but I'll update the main bug once I do. (And thanks for the link to the docs!)
Assignee: nobody → ehsan
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment on attachment 691872 [details] [diff] [review] Patch (v1) [Triage Comment] npotb
Attachment #691872 - Flags: approval-mozilla-b2g18+
Attachment #691872 - Flags: approval-mozilla-aurora+
Component: General → DMD
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: