Otherwise, the
// DEF-SAME: "[[RESOURCE_DIR]]/lib/linux/libclang_rt.builtins-ve.a" "-lc"
line ends up getting a -lgcc_s inserted in between and the output doesn't match anymore.
Also fix a -stdlib=c++ now that I'm already looking at it.
Differential D120644
[clang][tests] Fix ve-toolchain tests with CLANG_DEFAULT_UNWINDLIB tbaeder on Feb 27 2022, 10:49 PM. Authored by
Details Otherwise, the // DEF-SAME: "[[RESOURCE_DIR]]/lib/linux/libclang_rt.builtins-ve.a" "-lc" line ends up getting a -lgcc_s inserted in between and the output doesn't match anymore.
Diff Detail
Event TimelineComment Actions LGTM. For the record, this is related to the issues with the -fuse-ld option in that a cmake flag globally overrides a toolchain default: https://reviews.llvm.org/D115045. |