[compiler-rt] [compiler-rt] Avoid pulling in __cxa_pure_virtual (PR #84613)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 23:02:30 PDT 2024


================
@@ -30,10 +30,13 @@ class StackTracePrinter {
 
   virtual void RenderFrame(InternalScopedString *buffer, const char *format,
                            int frame_no, uptr address, const AddressInfo *info,
-                           bool vs_style,
-                           const char *strip_path_prefix = "") = 0;
+                           bool vs_style, const char *strip_path_prefix = "") {
+    Abort();  // Should be pure virtual but avoid pulling in __cxa_pure_virtual.
----------------
arichardson wrote:

Thanks, somehow missed that!

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


More information about the llvm-commits mailing list