[Parallel_libs-commits] [PATCH] D22687: [StreamExecutor] Add utility library

Jason Henline via Parallel_libs-commits parallel_libs-commits at lists.llvm.org
Fri Jul 22 09:53:40 PDT 2016


jhen created this revision.
jhen added reviewers: jlebar, tra.
jhen added a subscriber: parallel_libs-commits.

This utility library is used all throughout the StreamExecutor library,
so it needs to be present before the rest of StreamExecutor can be
built.

The utility library defines several different things:

* Status and StatusOr objects for returning errors from function that can fail,
* functions for handling common string manipulations,
* mutex wrappers that will make use of C++14 shared mutexes if possible,
* an implementation of the C++14 std::make_unique function,
* several useful utility macros,

https://reviews.llvm.org/D22687

Files:
  streamexecutor/CMakeLists.txt
  streamexecutor/README.txt
  streamexecutor/include/streamexecutor/Utils/Demangle.h
  streamexecutor/include/streamexecutor/Utils/Error.h
  streamexecutor/include/streamexecutor/Utils/Macros.h
  streamexecutor/include/streamexecutor/Utils/Mutex.h
  streamexecutor/include/streamexecutor/Utils/PtrUtil.h
  streamexecutor/include/streamexecutor/Utils/Status.h
  streamexecutor/include/streamexecutor/Utils/StatusOr.h
  streamexecutor/include/streamexecutor/Utils/StrUtil.h
  streamexecutor/include/streamexecutor/Utils/ThreadAnnotations.h
  streamexecutor/lib/CMakeLists.txt
  streamexecutor/lib/Utils/Demangle.cpp
  streamexecutor/lib/Utils/Status.cpp
  streamexecutor/lib/Utils/StrUtil.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22687.65093.patch
Type: text/x-patch
Size: 42637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/parallel_libs-commits/attachments/20160722/e5ec57c3/attachment-0001.bin>


More information about the Parallel_libs-commits mailing list