This revision was automatically updated to reflect the committed changes.
Closed by commit rG1c70dec18c7e: [libunwind] Remove __FILE__ and __LINE__ from
error reporting (authored by leonardchan).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75890/new/
https://reviews.llvm.org/D75890
Files:
libunwind/src/config.h
Index: libunwind/src/config.h
===================================================================
--- libunwind/src/config.h
+++ libunwind/src/config.h
@@ -122,8 +122,7 @@
#else
#define _LIBUNWIND_ABORT(msg)
\
do {
\
- fprintf(stderr, "libunwind: %s %s:%d - %s\n", __func__, __FILE__,
\
- __LINE__, msg);
\
+ fprintf(stderr, "libunwind: %s - %s\n", __func__, msg);
\
fflush(stderr);
\
abort();
\
} while (0)
Index: libunwind/src/config.h
===================================================================
--- libunwind/src/config.h
+++ libunwind/src/config.h
@@ -122,8 +122,7 @@
#else
#define _LIBUNWIND_ABORT(msg) \
do { \
- fprintf(stderr, "libunwind: %s %s:%d - %s\n", __func__, __FILE__, \
- __LINE__, msg); \
+ fprintf(stderr, "libunwind: %s - %s\n", __func__, msg); \
fflush(stderr); \
abort(); \
} while (0)
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits