Page MenuHomePhabricator

D58057.id.diff
No OneTemporary

File Metadata

Created
Wed, Oct 16, 5:28 PM

D58057.id.diff

Index: tools/clang-offload-bundler/ClangOffloadBundler.cpp
===================================================================
--- tools/clang-offload-bundler/ClangOffloadBundler.cpp
+++ tools/clang-offload-bundler/ClangOffloadBundler.cpp
@@ -292,7 +292,7 @@
ReadChars += TripleSize;
// Check if the offset and size make sense.
- if (!Size || !Offset || Offset + Size > FC.size())
+ if (!Offset || Offset + Size > FC.size())
return;
assert(BundlesInfo.find(Triple) == BundlesInfo.end() &&

Event Timeline