[compiler-rt] [NFC] fix incorrect #endif comment (PR #95991)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 14:39:52 PDT 2024


================
@@ -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  // SANITIZER_FREEBSD || SANITIZER_NETBSD
----------------
vitalybuka wrote:

I'd rather drop then and use indentation to find real one

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


More information about the llvm-commits mailing list