Bug 19643 – core.demangle doesn't handle extern(Objective-C) correctly

Status
NEW
Severity
minor
Priority
P3
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2019-02-03T23:12:36Z
Last change time
2024-12-07T13:39:15Z
Keywords
objc, pull
Assigned to
No Owner
Creator
Hiroki Noda
Moved to GitHub: dmd#17382 →

Comments

Comment #0 by kubo39 — 2019-02-03T23:12:36Z
dmd and ddemangle are install via `install.sh install dmd-2.084.0`. --- (dmd-2.084.0)$ cat objc.d extern (Objective-C) void fooObjC(T)(T x) { } extern (D) void fooD(T)(T x) { } void main() { fooD(1); fooObjC(1); } (dmd-2.084.0)$ dmd -g objc.d (dmd-2.084.0)$ nm objc| grep foo| ddemangle 0000000000032e78 W pure nothrow @nogc @safe void objc.fooD!(int).fooD(int) 0000000000032e88 W _D4objc__T7fooObjCTiZQlYNaNbNiNfiZv ---
Comment #1 by kubo39 — 2019-02-04T08:58:38Z
Comment #2 by dlang-bot — 2020-03-23T03:37:56Z
@kubo39 updated dlang/druntime pull request #2482 "FIX Issue 19643 - add missing Objective-C function calling convention" fixing this issue: - FIX Issue 19643 - add missing Objective-C function calling convention https://github.com/dlang/druntime/pull/2482
Comment #3 by dlang-bot — 2021-10-03T09:23:09Z
@kubo39 updated dlang/druntime pull request #2977 "Fix Issue 20640 - LDC: AddressSanitizer failing to catch SIGSEGV in unittest" fixing this issue: - FIX Issue 19643 - add missing Objective-C function calling convention https://github.com/dlang/druntime/pull/2977
Comment #4 by robert.schadek — 2024-12-07T13:39:15Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17382 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB