1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/lib
David Majnemer 4253ad553a [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
2016-03-13 10:53:30 +00:00
..
Analysis ConstantFoldInstruction: avoid wasted calls to ConstantFoldConstantExpression 2016-03-13 05:36:15 +00:00
AsmParser Add a flag to the LLVMContext to disable name for Value other than GlobalValue 2016-03-10 01:28:54 +00:00
Bitcode [Bitcode] Make writeComdats less strange 2016-03-13 08:01:03 +00:00
CodeGen [CodeView] Truncate display names 2016-03-13 10:53:30 +00:00
DebugInfo [DebugInfo] Dump CIE augmentation data as a list of hex bytes 2016-03-01 18:38:05 +00:00
ExecutionEngine ExecutionEngine: tweak debug log 2016-03-05 20:00:41 +00:00
Fuzzer [libFuzzer] try to use max_len based on the items of the corpus instead of blindly defaulting to 64 bytes. 2016-03-12 01:57:04 +00:00
IR Use templated version of unwrap instead of cats in the Core.cpp. NFC 2016-03-13 00:54:40 +00:00
IRReader
LibDriver
LineEditor
Linker Minor cleanup and documentation to IRMover (NFC) 2016-03-11 22:19:06 +00:00
LTO [ThinLTO] Support for reference graph in per-module and combined summary. 2016-03-11 18:52:24 +00:00
MC Don't crash when compiling inline assembler containing .file directives. 2016-03-09 17:32:56 +00:00
Object [ThinLTO] Support for reference graph in per-module and combined summary. 2016-03-11 18:52:24 +00:00
ObjectYAML [AMDGPU] add AMDGPU target support to ELFObjectFile.h header 2016-03-09 17:08:19 +00:00
Option
Passes [PM] Rename the CRTP mixin base classes for the new pass manager to 2016-03-11 10:33:22 +00:00
ProfileData Use LineLocation instead of CallsiteLocation to index callsite profile. 2016-03-03 18:09:32 +00:00
Support APFloat: Fix ilogb for denormals 2016-03-13 05:12:32 +00:00
TableGen [TableGen] Fix typos in comments. NFC 2016-02-26 06:50:27 +00:00
Target [X86] Remove many operands that represent memory stores from outs to ins. These operands are the registers and immediates that specify the memory address not the memory itself thus they are inputs. 2016-03-13 02:56:31 +00:00
Transforms remove unnecessary cast; NFC 2016-03-12 18:17:41 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00