[PATCH] D159137: [AIX] Fix Link Issue when `-fprofile-update=[atomic|prefer-atomic]` is in Effect
wael yehia via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 30 12:35:39 PDT 2023
w2yehia added inline comments.
================
Comment at: clang/test/Driver/fprofile-update.c:18
+// RUN: %clang -### %s --target=powerpc-unknown-aix -fprofile-generate -fprofile-update=atomic 2>&1 | FileCheck %s --check-prefix=AIX
+// RUN: %clang -### %s --target=powerpc-unknown-aix -fprofile-generate -fprofile-update=prefer-atomic 2>&1 | FileCheck %s --check-prefix=AIX
+// AIX: "-latomic"
----------------
not sure if it's typical to also add a negative test that -latomic is not added by default or with "single" suboption. I'll leave it to you to decide.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159137/new/
https://reviews.llvm.org/D159137
More information about the cfe-commits
mailing list