[PATCH] D143513: [DebugInfo] Allow parsing line tables aligned to 4 or 8-byte boundaries

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 13:20:33 PST 2023


MaskRay added a comment.

`#` is a universal comment marker at the line beginning (ignoring whitespace).  If there are non-space tokens before the comment, use `//` (for `arm-*` `@` works as well but I don't think it is common).
`//` is a universal comment marker in GNU assembler.

  % clang --target=arm-linux-gnueabi -c a.s
  a.s:1:10: error: unexpected token
  .long 5  # Unit


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143513



More information about the llvm-commits mailing list