[llvm] r326795 - [Asm] Add debug printing for assembler macros

Oliver Stannard via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 6 07:28:13 PST 2018


Ah, yep, I've added a dependency from MC to MCParser, which is the wrong way round. I think I should just be able to move the calls from MCContext to AsmParser to fix this.

Thanks for letting me know, for some reason I didn't get any emails from those bots.

Oliver

> -----Original Message-----
> From: Alex Bradbury [mailto:asb at lowrisc.org]
> Sent: 06 March 2018 15:19
> To: Oliver Stannard
> Cc: Eric Liu via llvm-commits
> Subject: Re: [llvm] r326795 - [Asm] Add debug printing for assembler
> macros
>
> On 6 March 2018 at 14:07, Oliver Stannard via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
> > Author: olista01
> > Date: Tue Mar  6 06:07:01 2018
> > New Revision: 326795
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=326795&view=rev
> > Log:
> > [Asm] Add debug printing for assembler macros
> >
> > This adds some debug printing (gated behind the "asm-macros" debug
> flag) which
> > can help tracing complicated assembly macros.
> >
> > Differential revision: https://reviews.llvm.org/D43937
>
> This commit has broken the RISC-V and AVR experimental builders:
> http://lab.llvm.org:8014/builders/llvm-avr-
> linux/builds/9934/steps/compile/logs/stdio
> http://lab.llvm.org:8014/builders/llvm-riscv-
> linux/builds/1907/steps/compile/logs/stdio
>
> In both cases, due to an undefined symbol when linking libLLVMMC:
>
> error: undefined symbol: llvm::AsmToken::dump(llvm::raw_ostream&) const
>
> I haven't had a chance to dig deeper yet. Any immediate thoughts? I
> suspect this is an issue for -DBUILD_SHARED_LIBS=True builds.
>
> Thanks,
>
> Alex
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


More information about the llvm-commits mailing list