[clang] [llvm] [Clang][Hexagon] Driver changes for H2+Picolibc (PR #195795)

via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 07:03:46 PDT 2026


================
@@ -118,3 +118,121 @@
 // CHECK-LIBPATHS-PIC: "-L{{.*}}{{/|\\\\}}Inputs{{/|\\\\}}hexagon_tree{{/|\\\\}}Tools{{/|\\\\}}bin{{/|\\\\}}..{{/|\\\\}}target{{/|\\\\}}picolibc{{/|\\\\}}hexagon-unknown-none-elf{{/|\\\\}}lib{{/|\\\\}}v68{{/|\\\\}}G0{{/|\\\\}}pic"
 // CHECK-LIBPATHS-PIC: "-L{{.*}}{{/|\\\\}}Inputs{{/|\\\\}}hexagon_tree{{/|\\\\}}Tools{{/|\\\\}}bin{{/|\\\\}}..{{/|\\\\}}target{{/|\\\\}}picolibc{{/|\\\\}}hexagon-unknown-none-elf{{/|\\\\}}lib{{/|\\\\}}v68{{/|\\\\}}G0"
 // CHECK-LIBPATHS-PIC: "-L{{.*}}{{/|\\\\}}Inputs{{/|\\\\}}hexagon_tree{{/|\\\\}}Tools{{/|\\\\}}bin{{/|\\\\}}..{{/|\\\\}}target{{/|\\\\}}picolibc{{/|\\\\}}hexagon-unknown-none-elf{{/|\\\\}}lib{{/|\\\\}}v68"
+
+// =============================================================================
+// H2 OS tests (--target=hexagon-h2-elf --cstdlib=picolibc)
+// Differences from hexagon-none-elf: crt0-noflash-hosted.o, -lh2 -lsyscall_wrapper
----------------
quic-k wrote:

this are the files/libs that are different in case of hexagon-h2-elf from what we had in hexagon-none-elf
these are the tests : https://github.com/llvm/llvm-project/pull/195795/changes#diff-089237f660e888fa1033d0db2c581e99169e880c542cd619f2758e172fdbd4ddR141-R209

https://github.com/llvm/llvm-project/pull/195795


More information about the llvm-commits mailing list