diff options
| author | Tim Northover <tnorthover@apple.com> | 2018-11-01 13:49:54 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2018-11-01 13:49:54 +0000 |
| commit | a94ecc619b3eb82144af0ac049676728b84caa77 (patch) | |
| tree | 9fe52dac0071b3a19aeab1f378daa9bcadc1ede2 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | 1546efd4a7c1fffe0428ea4f27bf2037eeec4df3 (diff) | |
| download | bcm5719-llvm-a94ecc619b3eb82144af0ac049676728b84caa77.tar.gz bcm5719-llvm-a94ecc619b3eb82144af0ac049676728b84caa77.zip | |
Logging: make os_log buffer size an integer constant expression.
The size of an os_log buffer is known at any stage of compilation, so making it
a constant expression means that the common idiom of declaring a buffer for it
won't result in a VLA. That allows the compiler to skip saving and restoring
the stack pointer around such buffers.
llvm-svn: 345828
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions

