[llvm] [GlobalOpt] Update debug info when changing CC to Fast (PR #144303)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 17 10:34:44 PDT 2025
================
@@ -1920,6 +1920,14 @@ static void RemovePreallocated(Function *F) {
}
}
+static unsigned char GetDebugInfoFastCC(const Triple &Triple) {
+ if (Triple.isOSWindows() && Triple.isArch32Bit()) {
+ return llvm::dwarf::DW_CC_BORLAND_msfastcall;
+ }
+
+ return llvm::dwarf::DW_CC_normal;
+}
+
----------------
dwblaikie wrote:
Could you point to the table definition, we/someone could take a look to see how practical it is.
https://github.com/llvm/llvm-project/pull/144303
More information about the llvm-commits
mailing list