<div dir="ltr"><div>I'm having an issue with the error "inlinable function call in a function with debug info must have a !dbg location"<br><br>My language will automatically call a destructor for you. LLVM is forcing me to use give it debug information. I try to with DILocation however scope is mandatory field. However since the
destructor
is generated it doesn't exist in source. So when I try making DISubprogram for the scope I need to give it invalid lines.<br><br></div>What's the best way to handle debugging information that doesn't exist in source?<br></div>