diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-04-09 09:09:59 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-04-09 09:09:59 +0000 |
commit | 79766820a3ba2e792593ee89d26225bf686f7440 (patch) | |
tree | 7f5ea26df3768286567c515e1ef6a56d113cc1a3 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 889bf9fe007c0915d8860bbc3ec877692792dd45 (diff) | |
download | llvm-79766820a3ba2e792593ee89d26225bf686f7440.zip llvm-79766820a3ba2e792593ee89d26225bf686f7440.tar.gz llvm-79766820a3ba2e792593ee89d26225bf686f7440.tar.bz2 |
[dsymutil] Don't try to load Swift ASTs as objects.
With the threading refactoring, loading of object files happens before
checking whether we're dealing with a swift AST. While that's not an
issue per se, it causes a warning to be printed:
warning: /path/to/a.swiftmodule: The file was not recognized as a valid object file
note: while processing /path/to/a.swiftmodule
This suppresses the warning by checking for a Swift AST before
attempting to load is as an object file.
rdar://39240444
llvm-svn: 329553
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions