summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-02-11 16:14:02 +0000
committerPavel Labath <pavel@labath.sk>2019-02-11 16:14:02 +0000
commitbd334efd0aec3d26d7ace3c5f8b858b07e0bb9bd (patch)
tree48a468ce6ce77ac4fc7b841e80a753e8459b8ff1 /lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
parent5caa550649740ee39ec09cbb195129d1687ca880 (diff)
downloadbcm5719-llvm-bd334efd0aec3d26d7ace3c5f8b858b07e0bb9bd.tar.gz
bcm5719-llvm-bd334efd0aec3d26d7ace3c5f8b858b07e0bb9bd.zip
Simplify ObjectFile::GetUUID
instead of returning the UUID through by-ref argument and a boolean value indicating success, we can just return it directly. Since the UUID class already has an invalid state, it can be used to denote the failure without the additional bool. llvm-svn: 353714
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp')
-rw-r--r--lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp b/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
index d1e9a5d3d63..ec5500622a4 100644
--- a/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
+++ b/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
@@ -166,9 +166,9 @@ void ObjectFileJIT::Dump(Stream *s) {
}
}
-bool ObjectFileJIT::GetUUID(lldb_private::UUID *uuid) {
+UUID ObjectFileJIT::GetUUID() {
// TODO: maybe get from delegate, not needed for first pass
- return false;
+ return UUID();
}
uint32_t ObjectFileJIT::GetDependentModules(FileSpecList &files) {
OpenPOWER on IntegriCloud