[PATCH] D145726: Fix assembler error when -g and -gdwarf-* is passed with -fno-integrated-as.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 9 13:51:41 PST 2023


MaskRay added a comment.

> Due to this we started seeing assembler errors with certain .c and .cpp files -
> "Error: file number 1 already allocated"

What are the certain `.c` and `.cpp` files? The behavior is correct for the following two commands.

  clang --target=arm-linux-gnueabihf -fno-integrated-as -c a.cc
  clang --target=arm-linux-gnueabihf -fno-integrated-as -S a.c

(I'll be out for most of the next 4 weeks and will spend little time on reviews.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145726



More information about the cfe-commits mailing list