<div dir="ltr">Hi Justin,<div><br></div><div>Please find attached an initial patch for what we've discussed earlier. It currently simply replaces the invalid symbols (only '.' and '@' may come from MCSymbol) with a different sequence. Potentially, this can create collisions, but since ptxas doesn't have general quoting, this is hard to work around. In any case, it's strictly better than the current situation which creates invalid assembly.</div>

<div><br></div><div>A more thorough approach could be to keep a map remembering symbol names and failing loudly in case of collisions. This has a memory usage cost.</div><div><br></div><div>PTAL,</div><div>Eli</div></div>