Thread overview
-gl for dmd
Aug 14, 2013
JS
Aug 14, 2013
JS
Aug 14, 2013
JS
August 14, 2013
obj2asm says that adding -gl can give the source code line numbers in the asm dump. dmd does not seem to support this? Any way to get it added?
August 14, 2013
It would also be nice if symbols could demangled.
August 14, 2013
On Wednesday, 14 August 2013 at 03:36:09 UTC, JS wrote:
> It would also be nice if symbols could demangled.


It would be nice if I could roll my own but core.demangle only have works...

int main.A.foo()
__except_list
_D17TypeInfo_C4main1A6__initZ
_D17TypeInfo_C4main1B6__initZ
@property int delegate() main._A.fooDel()

converted from

	extrn	_D4main1A3fooMFZi
	extrn	__except_list
	extrn	_D17TypeInfo_C4main1A6__initZ
	extrn	_D17TypeInfo_C4main1B6__initZ
	extrn	_D4main2_A6fooDelMFNdZDFZi

D is the most amazing programming language... in theory!