<div dir="ltr">Hello,<div><br></div><div>hope you all have a nice Christmas!</div><div>I've noticed the C API to emit an object file requires the filename to be a non-const char array, for no apparent reason.</div><div>I've attached a patch with a fix. It changes the public API of 'LLVMTargetMachineEmitToFile', but shouldn't have any backwards compatibility or ABI problems.</div><div><br></div><div>Patch generated with git. Apply via patch -p1.</div><div><br></div><div><br></div><div>Best,</div><div>Arvid</div><div><div><br></div></div></div>