diff options
| author | Reid Kleckner <rnk@google.com> | 2016-10-05 22:36:07 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2016-10-05 22:36:07 +0000 |
| commit | bb96df602ebf7357b24cba5bf4fb09750d467be7 (patch) | |
| tree | 971fe03560ba0c08423831a8db5a913f81365a47 /llvm/lib/CodeGen/XRayInstrumentation.cpp | |
| parent | 5aa02480594f861efc332650188eef6b2986a269 (diff) | |
| download | bcm5719-llvm-bb96df602ebf7357b24cba5bf4fb09750d467be7.tar.gz bcm5719-llvm-bb96df602ebf7357b24cba5bf4fb09750d467be7.zip | |
[codeview] Truncate records to maximum record size near 64KB
If we don't truncate, LLVM asserts when the label difference doesn't fit
in a 16 bit field. This patch truncates two kinds of data: trailing null
terminated names in symbol records, and inline line tables. The inline
line table test that I have is too large (many MB), so I'm not checking
it in.
Hopefully fixes PR28264.
llvm-svn: 283403
Diffstat (limited to 'llvm/lib/CodeGen/XRayInstrumentation.cpp')
0 files changed, 0 insertions, 0 deletions

