Page MenuHomePhabricator

[Clang] Move assembler into a separate file
Needs ReviewPublic

Authored by aykevl on Jun 26 2019, 4:53 PM.



This change adds an AssemblerInvocation class, similar to the CompilerInvocation class. It can be used to invoke cc1as directly.

The project I'm working on wants to compile Clang and use it as a static library. For that to work, there must be a way to invoke the assembler programmatically, using the same arguments as you would otherwise pass to cc1as.

Diff Detail

Event Timeline

aykevl created this revision.Jun 26 2019, 4:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2019, 4:53 PM
aykevl updated this revision to Diff 206769.Jun 26 2019, 5:00 PM
  • removed useless anonymous namespace

*friendly ping*