Skip to content

Commit

Permalink
DROPME: [Toolchain][Xtensa][Tests] Fix calling clang++ in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gerekon committed Jan 9, 2024
1 parent 05a738c commit 6ae38f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/test/Driver/xtensa-toolchain.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
// C-XTENSA-ESP32-SYSROOT-BAREMETAL: "-L{{.*}}/Inputs/multilib_xtensa_tree/lib/gcc/xtensa-esp32-elf/8.4.0/../../..{{/|\\\\}}..{{/|\\\\}}lib{{/|\\\\}}gcc{{/|\\\\}}xtensa-esp32-elf{{/|\\\\}}8.4.0"
// C-XTENSA-ESP32-SYSROOT-BAREMETAL: "-L{{.*}}/Inputs/multilib_xtensa_tree/lib/gcc/xtensa-esp32-elf/8.4.0/../../..{{/|\\\\}}..{{/|\\\\}}xtensa-esp32-elf{{/|\\\\}}lib"

// RUN: %clang++ %s -### -no-canonical-prefixes \
// RUN: %clangxx %s -### -no-canonical-prefixes \
// RUN: -target xtensa-esp-elf -mcpu=esp32 -stdlib=libstdc++ --rtlib=platform \
// RUN: --gcc-toolchain=%S/Inputs/multilib_xtensa_tree 2>&1 \
// RUN: | FileCheck -check-prefix=CXX-XTENSA-ESP32-BAREMETAL %s
Expand All @@ -113,7 +113,7 @@
// CXX-XTENSA-ESP32-BAREMETAL: "-L{{.*}}/Inputs/multilib_xtensa_tree/lib/gcc/xtensa-esp32-elf/8.4.0/../../..{{/|\\\\}}..{{/|\\\\}}lib{{/|\\\\}}gcc{{/|\\\\}}xtensa-esp32-elf{{/|\\\\}}8.4.0"
// CXX-XTENSA-ESP32-BAREMETAL: "-L{{.*}}/Inputs/multilib_xtensa_tree/lib/gcc/xtensa-esp32-elf/8.4.0/../../..{{/|\\\\}}..{{/|\\\\}}xtensa-esp32-elf{{/|\\\\}}lib"

// RUN: %clang++ %s -### -no-canonical-prefixes \
// RUN: %clangxx %s -### -no-canonical-prefixes \
// RUN: -target xtensa-esp-elf -mcpu=esp32 -stdlib=libstdc++ --rtlib=platform \
// RUN: --gcc-toolchain=%S/Inputs/multilib_xtensa_tree \
// RUN: --sysroot=%S/Inputs/multilib_xtensa_tree/xtensa-esp32-elf 2>&1 \
Expand Down

0 comments on commit 6ae38f3

Please sign in to comment.