[PATCH] D60616: Make parseBitcodeFile use a named StructType, if it exists and matches.

Tim Northover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 02:32:33 PDT 2019


t.p.northover added inline comments.


================
Comment at: llvm/lib/Bitcode/Reader/BitcodeReader.cpp:1824-1826
+        // 3. This kind of conflict should not happen.
+        return error(
+            "named struct types match by name and differ by structure");
----------------
Really? I thought loading multiple bitcode files into the same LLVMContext was fine and conflicting types were automatically renamed.

Am I misreading or will this turn that situation into an error?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60616/new/

https://reviews.llvm.org/D60616





More information about the llvm-commits mailing list