diff options
author | Jim Ingham <jingham@apple.com> | 2012-04-26 21:39:32 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-04-26 21:39:32 +0000 |
commit | 57190baa6c6b07378456834d8fb08d723f3f22ce (patch) | |
tree | 4bcc8116bcb52425e19892e026c2b9efe25ef9d4 /clang/test/Misc/diag-trailing-null-bytes.cpp | |
parent | 2faa82d4b8d79c4f4bdfb2991687212251b004b1 (diff) | |
download | llvm-57190baa6c6b07378456834d8fb08d723f3f22ce.zip llvm-57190baa6c6b07378456834d8fb08d723f3f22ce.tar.gz llvm-57190baa6c6b07378456834d8fb08d723f3f22ce.tar.bz2 |
Don't call SBDebugger::SetInternalVariable in the sigwinch_handler, since that takes locks and potentially does allocations.
Just call SBDebugger::SetTerminalWidth on the driver's SBDebugger, which does the same job, but no locks.
Also add the value checking to SetTerminalWidth you get with SetInternalVariable(..., "term-width", ...).
rdar://problem/11310563
llvm-svn: 155665
Diffstat (limited to 'clang/test/Misc/diag-trailing-null-bytes.cpp')
0 files changed, 0 insertions, 0 deletions