MaskRay added a comment.

> This layout matches the layout use by other compilers like GCC.

Clarification: this is similar but not match GCC's layout, where the multiarch 
path component (e.g. `/x86_64-linux-gnu`) is appended to `.../include`

  % clang++ --target=aarch64-pc-linux-gnu a.cc '-###' |& sed -E 's/ 
"?-[LiI]/\n&/g'
  clang version 13.0.0
  Target: aarch64-pc-linux-gnu
  Thread model: posix
  InstalledDir: /tmp/RelA/bin
   "/tmp/RelA/bin/clang-13" "-cc1" "-triple" "aarch64-pc-linux-gnu" "-emit-obj" 
"-mrelax-all" "--mrelax-relocations" "-disable-free" "-main-file-name" "a.cc" 
"-mrelocation-model" "static" "-mframe-pointer=non-leaf" "-fmath-errno" 
"-fno-rounding-math" "-mconstructor-aliases" "-munwind-tables" "-target-cpu" 
"generic" "-target-feature" "+neon" "-target-abi" "aapcs" 
"-fallow-half-arguments-and-returns" "-debugger-tuning=gdb" 
"-fcoverage-compilation-dir=/tmp/c" "-resource-dir" "/tmp/RelA/lib/clang/13.0.0"
   "-internal-isystem" 
"/usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/include/c++/10"
   "-internal-isystem" 
"/usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/include/c++/10/aarch64-linux-gnu"
   "-internal-isystem" 
"/usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/include/c++/10/backward"
  ...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89013

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to