aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/FileSystem.h
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-22 19:14:29 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-22 19:14:29 +0000
commit674101e6bb3742ae743e21e9b9ebec5946b1d273 (patch)
treee6512e7a66877343687699d4ad3809bb4e73f234 /include/llvm/Support/FileSystem.h
parent5f676fe1394d242ad69d792b5c19dd167a8a098c (diff)
[ms-inline asm] Avoid a false positive assertion
Assertion failed: (Start.isValid() == End.isValid() && "Start and end should either both be valid or both be invalid!") when parsing inline asm. SMLoc assumes that the first char * in the source is invalid. However, when parsing an inline asm the mnemonic is at this location. I don't want to change SMLoc, so use a trivial workaround. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162381 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/FileSystem.h')
0 files changed, 0 insertions, 0 deletions