summaryrefslogtreecommitdiffstats
path: root/lldb/include/lldb/API
diff options
context:
space:
mode:
authorLawrence D'Anna <lawrence_danna@apple.com>2019-10-14 21:51:02 +0000
committerLawrence D'Anna <lawrence_danna@apple.com>2019-10-14 21:51:02 +0000
commit9efbc564baab71e3260d211041a9df8acf8a8764 (patch)
treee7117935cb8dbe9748cf08efbff30918681ba9ca /lldb/include/lldb/API
parent31a26001a193cc60abceec06a32ab4adcc1f73bb (diff)
downloadbcm5719-llvm-9efbc564baab71e3260d211041a9df8acf8a8764.tar.gz
bcm5719-llvm-9efbc564baab71e3260d211041a9df8acf8a8764.zip
build fix for SBInstruction.
oops! I cherry-picked rL374820 thinking it was completely independent of D68737, but it wasn't. It makes an incidental use of SBFile::GetFile, which is introduced there, so I broke the build. The docs say you can commit without review for "obvious". I think this qualifies. If this kind of fix isn't considered obvious, let me know and I'll revert instead. Fixes: rL374820 llvm-svn: 374825
Diffstat (limited to 'lldb/include/lldb/API')
-rw-r--r--lldb/include/lldb/API/SBFile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/include/lldb/API/SBFile.h b/lldb/include/lldb/API/SBFile.h
index 747e2eaad13..0dbf91439b4 100644
--- a/lldb/include/lldb/API/SBFile.h
+++ b/lldb/include/lldb/API/SBFile.h
@@ -14,6 +14,8 @@
namespace lldb {
class LLDB_API SBFile {
+ friend class SBInstruction;
+ friend class SBInstructionList;
friend class SBDebugger;
friend class SBCommandReturnObject;
friend class SBProcess;
OpenPOWER on IntegriCloud