I am very new to compiler development. For a project I need to find a way to keep the naming of the variables in my swift code for the LLVM IR. This is because I want to run an analyzer pass on the IR that makes use of those names.
I have tried this with self compiled Clang and found a flag "-fno-discard-value-names" that achieves this purpose. Is there anything that matches this functionality for Swiftc?