[compiler-rt] 7a49c90 - [NFC] fix incorrect #endif comment (#95991)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 20 13:32:11 PDT 2024
Author: Florian Mayer
Date: 2024-06-20T13:32:08-07:00
New Revision: 7a49c90ab6f33293ec11426dcaf67ea9e3c59ba5
URL: https://github.com/llvm/llvm-project/commit/7a49c90ab6f33293ec11426dcaf67ea9e3c59ba5
DIFF: https://github.com/llvm/llvm-project/commit/7a49c90ab6f33293ec11426dcaf67ea9e3c59ba5.diff
LOG: [NFC] fix incorrect #endif comment (#95991)
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
index d15caa76efb06..bf2002b6b3de6 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
@@ -1180,7 +1180,7 @@ uptr ReadBinaryName(/*out*/ char *buf, uptr buf_len) {
uptr module_name_len = internal_readlink(default_module_name, buf, buf_len);
int readlink_error;
bool IsErr = internal_iserror(module_name_len, &readlink_error);
-# endif // SANITIZER_SOLARIS
+# endif
if (IsErr) {
// We can't read binary name for some reason, assume it's unknown.
Report(
More information about the llvm-commits
mailing list