[llvm] 68d2814 - [Debuginfod][unittest] Include llvm/Support/StringExtras.h

Caslyn Tonelli via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 11:38:20 PDT 2023


Author: Caslyn Tonelli
Date: 2023-07-14T18:38:03Z
New Revision: 68d2814f421b0b584d7526d4bd095b6bbf585807

URL: https://github.com/llvm/llvm-project/commit/68d2814f421b0b584d7526d4bd095b6bbf585807
DIFF: https://github.com/llvm/llvm-project/commit/68d2814f421b0b584d7526d4bd095b6bbf585807.diff

LOG: [Debuginfod][unittest] Include llvm/Support/StringExtras.h

Include the "llvm/ADT/StringExtras.h" in unittest to resolve a
"use of undeclared identifier 'utostr'" error that surfaces on mac-x64
builds after https://reviews.llvm.org/D155178.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D155314

Added: 
    

Modified: 
    llvm/unittests/Debuginfod/HTTPServerTests.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/Debuginfod/HTTPServerTests.cpp b/llvm/unittests/Debuginfod/HTTPServerTests.cpp
index 3b2951a900ab2f..b0af2f850576d8 100644
--- a/llvm/unittests/Debuginfod/HTTPServerTests.cpp
+++ b/llvm/unittests/Debuginfod/HTTPServerTests.cpp
@@ -6,6 +6,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "llvm/ADT/StringExtras.h"
 #include "llvm/Debuginfod/HTTPClient.h"
 #include "llvm/Debuginfod/HTTPServer.h"
 #include "llvm/Support/Error.h"


        


More information about the llvm-commits mailing list