[lldb][AIX] 1. Avoid namespace collision on other platforms (#104679)
This PR is in reference to porting LLDB on AIX. Link to discussions on llvm discourse and github: 1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640 2. #101657 The complete changes for porting are present in this draft PR: https://github.com/llvm/llvm-project/pull/102601 The changes on this PR are intended to avoid namespace collision for certain typedefs between lldb and other platforms: 1. tid_t --> lldb::tid_t 2. offset_t --> lldb::offset_t
This commit is contained in:
1 parent
a6d81cdf89
commit
b804516dc5
19 files changed
+51
-47
No files matched your search
@@ -227,7 +227,7 @@ ThreadSP OperatingSystemPython::CreateThreadFromThreadInfo(
|
||||
ThreadList &old_thread_list, std::vector<bool> &core_used_map,
|
||||
bool *did_create_ptr) {
|
||||
ThreadSP thread_sp;
|
||||
tid_t tid = LLDB_INVALID_THREAD_ID;
|
||||
lldb::tid_t tid = LLDB_INVALID_THREAD_ID;
|
||||
if (!thread_dict.GetValueForKeyAsInteger("tid", tid))
|
||||
return ThreadSP();
|
||||
|
||||
|
||||
Reference in new issue
Block a user