[PATCH] D142022: [Clang][OpenMP] Fix handling of -mcode-object-version for OpenMP
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 13 12:53:41 PDT 2023
yaxunl added inline comments.
Herald added subscribers: jplehr, sunshaoce.
================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:8090
if (Triple.isAMDGPU())
- handleAMDGPUCodeObjectVersionOptions(D, Args, CmdArgs, /*IsCC1As=*/true);
+ handleAMDGPUCodeObjectVersionOptions(D, C.getArgs(), CmdArgs,
+ /*IsCC1As=*/true);
----------------
should use Args instead of C.getArgs()
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142022/new/
https://reviews.llvm.org/D142022
More information about the cfe-commits
mailing list