File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
clang/lib/Driver/ToolChains Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -279,15 +279,10 @@ void HIPAMDToolChain::addClangTargetOptions(
279279 // Default to "hidden" visibility, as object level linking will not be
280280 // supported for the foreseeable future.
281281 if (!DriverArgs.hasArg (options::OPT_fvisibility_EQ,
282- <<<<<<< HEAD
283- options::OPT_fvisibility_ms_compat)) {
284- if (DeviceOffloadingKind != Action::OFK_SYCL)
285- CC1Args.append ({" -fvisibility=hidden" });
286- =======
287282 options::OPT_fvisibility_ms_compat) &&
288283 !getDriver ().IsFlangMode ()) {
289- CC1Args. append ({ " -fvisibility=hidden " });
290- >>>>>>> 7675fc79c802cf7f6a95660f6ee59bf6cb62102f
284+ if (DeviceOffloadingKind != Action::OFK_SYCL)
285+ CC1Args. append ({ " -fvisibility=hidden " });
291286 CC1Args.push_back (" -fapply-global-visibility-to-externs" );
292287 }
293288
You can’t perform that action at this time.
0 commit comments