[PATCH] D137995: [Flang][Driver] Handle target CPU and features

Usman Nadeem via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 29 17:44:34 PST 2022


mnadeem added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Flang.cpp:99
+  default:
+    // Untested for other targets but should work generally.
+    break;
----------------
kiranchandramohan wrote:
> I get a segfault in ` Fortran::frontend::CodeGenAction::setUpTargetMachine()` currently when using `./bin/flang-new --target=x86_64-linux-gnu  file.f90`
I am unable to reproduce this, do you have your toolchain built for x86 target as well?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137995/new/

https://reviews.llvm.org/D137995



More information about the cfe-commits mailing list