================ @@ -0,0 +1,36 @@ +// -fPIC and -fPIE only affects host relocation model. +// device compilation always uses PIC. + +// RUN: %clang -### --target=x86_64-unknown-freebsd \ ---------------- aokblast wrote:
I basically copy hip-fpie-option.hip, which has more than 2 lines of RUN per testcase. I delete the last two testcases as FreeBSD has been PIE by default in ths patch. Others are necessary I think. https://github.com/llvm/llvm-project/pull/206139 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
