summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/main.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-03-13 10:53:30 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-03-13 10:53:30 +0000
commit1256125fb73169b8a8a940bce05dd04622955edc (patch)
tree2ed9d5bb6fcdfda7c18bf2154a6f8c383befeaea /lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/main.cpp
parent90a021fb02b7ee1413c56f45a2a60ee066b305f3 (diff)
downloadbcm5719-llvm-1256125fb73169b8a8a940bce05dd04622955edc.tar.gz
bcm5719-llvm-1256125fb73169b8a8a940bce05dd04622955edc.zip
[CodeView] Truncate display names
Fundamentally, the length of a variable or function name is bound by the maximum size of a record: 0xffff. However, the name doesn't live in a vacuum; other data is associated with the name, lowering the bound further. We would naively attempt to emit the name, causing us to assert because the record would no-longer fit in 16-bits. Instead, truncate the name but preserve as much as we can. While I have tested this locally, I've decided to not commit it due to the test's size. N.B. While this behavior is undesirable, it is better than MSVC's behavior. They seem to truncate to ~4000 characters. llvm-svn: 263378
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud