mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-08 03:58:42 +00:00
65e82992a2
This commit modifies the memory buffer creation in the AsmParser library so that it requires a terminating null character. The LLLexer in the AsmParser library checks for EOF only when it sees a null character, thus it would be best to require it when creating a memory buffer so that the memory buffer constructor can verify that a terminating null character is indeed present. Reviewers: Duncan P. N. Exon Smith, Matthias Braun Differential Revision: http://reviews.llvm.org/D9883 llvm-svn: 237833
10 lines
116 B
CMake
10 lines
116 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
AsmParser
|
|
Core
|
|
Support
|
|
)
|
|
|
|
add_llvm_unittest(AsmParserTests
|
|
AsmParserTest.cpp
|
|
)
|