diff options
| author | Ryan Brown <ribrdb@google.com> | 2015-09-16 21:20:44 +0000 |
|---|---|---|
| committer | Ryan Brown <ribrdb@google.com> | 2015-09-16 21:20:44 +0000 |
| commit | 65d4d5c3c6d742855f572d1306af93fabe015b0a (patch) | |
| tree | f6a840baed06cdc87a15c0610b45fcad359fbe10 /lldb/source/Symbol/ObjectFile.cpp | |
| parent | 8be1847b09e358cacfb6219e8b0cdeaf77f1b9fe (diff) | |
| download | bcm5719-llvm-65d4d5c3c6d742855f572d1306af93fabe015b0a.tar.gz bcm5719-llvm-65d4d5c3c6d742855f572d1306af93fabe015b0a.zip | |
Add an OperatingSystem plugin to support goroutines
The Go runtime schedules user level threads (goroutines) across real threads.
This adds an OS plugin to create memory threads for goroutines.
It supports the 1.4 and 1.5 go runtime.
Differential Revision: http://reviews.llvm.org/D5871
llvm-svn: 247852
Diffstat (limited to 'lldb/source/Symbol/ObjectFile.cpp')
| -rw-r--r-- | lldb/source/Symbol/ObjectFile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Symbol/ObjectFile.cpp b/lldb/source/Symbol/ObjectFile.cpp index b61d499d2eb..e8a963e5767 100644 --- a/lldb/source/Symbol/ObjectFile.cpp +++ b/lldb/source/Symbol/ObjectFile.cpp @@ -351,6 +351,7 @@ ObjectFile::GetAddressClass (addr_t file_addr) case eSectionTypeZeroFill: case eSectionTypeDataObjCMessageRefs: case eSectionTypeDataObjCCFStrings: + case eSectionTypeGoSymtab: return eAddressClassData; case eSectionTypeDebug: case eSectionTypeDWARFDebugAbbrev: |

