summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SplitModule.cpp
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2016-08-02 19:17:54 +0000
committerNirav Dave <niravd@google.com>2016-08-02 19:17:54 +0000
commit9263ae3b5ac8be8fc6e6011b4e36b2faf372520f (patch)
tree1edddca005232b23c244979b9fbfaac1b731a4b6 /llvm/lib/Transforms/Utils/SplitModule.cpp
parentbef0e90cf1b4583e853a0d5bcc2b7bdf522e53d9 (diff)
downloadbcm5719-llvm-9263ae3b5ac8be8fc6e6011b4e36b2faf372520f.tar.gz
bcm5719-llvm-9263ae3b5ac8be8fc6e6011b4e36b2faf372520f.zip
Fix handling of end-of-line preprocessor comments Attempt 2
Attempt 2: Retryign after Tsan.mman test fix. Attempt 1: Recommitting after fixing test. When parsing assembly where the line comment syntax is not hash, the lexer cannot distinguish between hash's that start a hash line comment and one that is part of an assembly statement and must be distinguished during parsing. Previously, this was incompletely handled by not checking for EndOfStatement at the end of statements and interpreting hash prefixed statements as comments. Change EndOfStatement Parsing to check for Hash comments and reintroduce Hash statement parsing to catch previously handled cases. Reviewers: rnk, majnemer Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D23017 llvm-svn: 277501
Diffstat (limited to 'llvm/lib/Transforms/Utils/SplitModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud