diff options
author | Hans Wennborg <hans@hanshq.net> | 2018-01-22 15:16:37 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2018-01-22 15:16:37 +0000 |
commit | d9e6eecc10dfd8a1c40aa85a276b03f41e868cac (patch) | |
tree | eb7a7794ee0728fe103edf9554982365384633e2 /test/MC | |
parent | 8d72e720adbb8f3718426af9b046c5da2c3cf486 (diff) |
Merging r323034:
------------------------------------------------------------------------
r323034 | dmgreen | 2018-01-20 11:29:37 +0100 (Sat, 20 Jan 2018) | 9 lines
[Dominators] Fix some edge cases for PostDomTree updating
These fix some odd cfg cases where batch-updating the post
dom tree fails. Usually around infinite loops and roots
ending up being different.
Differential Revision: https://reviews.llvm.org/D42247
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@323121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/COFF/cv-inline-linetable.s | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/MC/COFF/cv-inline-linetable.s b/test/MC/COFF/cv-inline-linetable.s index 61a42d92f40..c5e28c4d078 100644 --- a/test/MC/COFF/cv-inline-linetable.s +++ b/test/MC/COFF/cv-inline-linetable.s @@ -135,3 +135,29 @@ Ltmp1: .cv_filechecksums # File index to string table offset subsection .cv_stringtable # String table +# CHECK-LABEL: FunctionLineTable [ +# CHECK: LinkageName: ?baz@@YAXXZ +# CHECK: Flags: 0x1 +# CHECK: CodeSize: 0x3D +# CHECK: FilenameSegment [ +# CHECK: Filename: D:\src\llvm\build\t.cpp (0x0) +# CHECK: +0x0 [ +# CHECK: LineNumberStart: 13 +# CHECK: ] +# CHECK: +0x1 [ +# CHECK: LineNumberStart: 14 +# CHECK: ] +# CHECK: +0x8 [ +# CHECK: LineNumberStart: 15 +# CHECK: ] +# There shouldn't be any other line number entries because all the other +# .cv_locs are on line 15 where the top-level inline call site is. +# CHECK-NOT: LineNumberStart +# CHECK: +0x34 [ +# CHECK: LineNumberStart: 16 +# CHECK: ] +# CHECK: +0x3B [ +# CHECK: LineNumberStart: 17 +# CHECK: ] +# CHECK: ] +# CHECK: ] |