[Mlir-commits] [clang] [flang] [mlir] [clang][flang][mlir] Support -frecord-command-line option (PR #102975)

Tarun Prabhu llvmlistbot at llvm.org
Wed Sep 25 11:30:17 PDT 2024


tarunprabhu wrote:

The underlying issue is due to `CLOptions.inc` being included in `FrontendActions.cpp` and `bbc.cpp`. The file contained a number of command line options and functions, all of which were declared `static`. This PR added `libflangFrontend` to the list of libraries linked into `bbc` which resulted in duplicate definition errors. The underlying issue can be solved by avoiding including files containing definitions directly in another. #109874 does this. It should be safe to reland this after that is merged.

https://github.com/llvm/llvm-project/pull/102975


More information about the Mlir-commits mailing list