[Issue 8207] OS X: Should extern(D) symbols include another underscore?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 10 23:26:42 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=8207

--- Comment #4 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/db2976599db44f2163986ba9cb541afd7cfa8471
fix Issue 8207 - extern(D) symbols should include another underscore

    1. Removed ABI name fiddling from the front-end.
    2. Removed `Target.prefixName` and C++ tests for matching `__Z`.
    3. Prepend prefixes for C++ and D symbols in the backend only
       for the targets that require it (Win32, OSX).
    4. Removed `RTLSYM__DINVARIANT` runtime library symbol, name is now
       the same on all targets.
    5. Correctly set C++ mangling on `LINK.cpp` symbols, before they
       were all being set as D mangled symbols.
    6. Use System mangling as synonym for do not modify symbol.
    7. Added workaround for `extern(D) ___tls_get_addr`.

https://github.com/dlang/dmd/commit/9691eba9441f7f165359716f80f46486ea09fb46
Merge pull request #7620 from ibuclaw/ingcc2

fix Issue 8207 - extern(D) symbols should include another underscore
merged-on-behalf-of: unknown

--


More information about the Digitalmars-d-bugs mailing list