diff options
author | Greg Clayton <gclayton@apple.com> | 2011-02-03 21:28:34 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-02-03 21:28:34 +0000 |
commit | 4b0456211cefaba27b6a3326818b28f46579db5f (patch) | |
tree | dcb43a4f32e090d86a3409af3f2fbfddaf71f2ce /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | ce8661608bc26cfd7d641f07aa0a5ab2b9c57305 (diff) | |
download | bcm5719-llvm-4b0456211cefaba27b6a3326818b28f46579db5f.tar.gz bcm5719-llvm-4b0456211cefaba27b6a3326818b28f46579db5f.zip |
Added a SBListener parameter to Launch and attach calls to avoid a race
condition that could occur when launching or attaching. What could happen is
you would launch/attach to a process, then you would need to tell a listener
to watch for process state changed events. In this case, if you waited too
long to listen for events, you could miss the initial stop event, requiring
clients to listen, then check the process state.
llvm-svn: 124818
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions