[PATCH] D73961: [LLDB] Addresses can be two bytes in size

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 5 14:34:52 PST 2020


labath added a comment.

In D73961#1860270 <https://reviews.llvm.org/D73961#1860270>, @aykevl wrote:

> > How do you normally generate the binaries with these kinds of addresses? Can they be produced with clang? Can they be produced with llvm-mc? Linked with lld ?
>
> With `avr-gcc`. I think it's easiest to just generate a minimal binary using `yaml2obj`.
>
> For the rest I'm focusing on D73969 <https://reviews.llvm.org/D73969> now, this patch should probably be abandoned.


yaml2obj can certainly be useful, the yaml files are not that readable when you need to create more complicated inputs (e.g. with DWARF). Writing assembly could be more useful there.

But anyway, we can evaluate that on a case-by-case basis.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73961/new/

https://reviews.llvm.org/D73961





More information about the llvm-commits mailing list