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

Caslyn Tonelli via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 10:25:51 PDT 2023


Caslyn created this revision.
Herald added a project: All.
Caslyn requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155314

Files:
  llvm/unittests/Debuginfod/HTTPServerTests.cpp


Index: llvm/unittests/Debuginfod/HTTPServerTests.cpp
===================================================================
--- llvm/unittests/Debuginfod/HTTPServerTests.cpp
+++ 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"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155314.540483.patch
Type: text/x-patch
Size: 476 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230714/ee32aa84/attachment.bin>


More information about the llvm-commits mailing list