Bug 17500 – Add a CLI flag configure the location for AST dumps produced by -vcg-ast

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-06-13T23:47:30Z
Last change time
2024-12-13T18:52:37Z
Assigned to
No Owner
Creator
Seb
Moved to GitHub: dmd#19263 →

Comments

Comment #0 by greensunny12 — 2017-06-13T23:47:30Z
-vcg-ast produces a .cg (CodeGen) files which will always be in the same directory as the main D source file, e.g. main.d -> main.cg For more information, see the regarding discussion on GitHub: https://github.com/dlang/dmd/pull/6888
Comment #1 by alphaglosined — 2022-04-19T14:41:27Z
This has come up on Discord in relation to dub. It was surprising to the user that the location was tied to the source file rather than the project directory. It would be ideal if dub could change the location automatically if the flag is passed so that it would be less of a surprise.
Comment #2 by robert.schadek — 2024-12-13T18:52:37Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19263 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB