This revision was automatically updated to reflect the committed changes. Closed by commit rL372591: [LLDB] Remove a now redundant windows specific workaround (authored by mstorsjo, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits.
Changed prior to commit: https://reviews.llvm.org/D67861?vs=221276&id=221296#toc Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D67861/new/ https://reviews.llvm.org/D67861 Files: lldb/trunk/source/Host/windows/Windows.cpp Index: lldb/trunk/source/Host/windows/Windows.cpp =================================================================== --- lldb/trunk/source/Host/windows/Windows.cpp +++ lldb/trunk/source/Host/windows/Windows.cpp @@ -48,13 +48,8 @@ size_t buflen; va_list ap2; -#if defined(_MSC_VER) || defined(__MINGW64) - ap2 = ap; - len = _vscprintf(fmt, ap2); -#else va_copy(ap2, ap); len = vsnprintf(NULL, 0, fmt, ap2); -#endif if (len >= 0 && (buf = (char *)malloc((buflen = (size_t)(len + 1)))) != NULL) {
Index: lldb/trunk/source/Host/windows/Windows.cpp =================================================================== --- lldb/trunk/source/Host/windows/Windows.cpp +++ lldb/trunk/source/Host/windows/Windows.cpp @@ -48,13 +48,8 @@ size_t buflen; va_list ap2; -#if defined(_MSC_VER) || defined(__MINGW64) - ap2 = ap; - len = _vscprintf(fmt, ap2); -#else va_copy(ap2, ap); len = vsnprintf(NULL, 0, fmt, ap2); -#endif if (len >= 0 && (buf = (char *)malloc((buflen = (size_t)(len + 1)))) != NULL) {
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits