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

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 16:00:27 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.
----------------
vitalybuka wrote:

UNIMPLEMENTED() ?

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


More information about the llvm-commits mailing list