[all-commits] [llvm/llvm-project] e0b24d: [llvm-dis] Fix non-deterministic disassembly acros...

Peter Waller via All-commits all-commits at lists.llvm.org
Mon Oct 7 03:23:51 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0b24d947570385c5b6c3afea46fea09fc75ddab
      https://github.com/llvm/llvm-project/commit/e0b24d947570385c5b6c3afea46fea09fc75ddab
  Author: Peter Waller <peter.waller at arm.com>
  Date:   2024-10-07 (Mon, 07 Oct 2024)

  Changed paths:
    A llvm/test/tools/llvm-dis/multiple-files-equivalent.ll
    M llvm/tools/llvm-dis/llvm-dis.cpp

  Log Message:
  -----------
  [llvm-dis] Fix non-deterministic disassembly across multiple inputs (#110988)

Prior to this patch, the LLVMContext was shared across inputs to
llvm-dis.

Consequently, NamedStructTypes was shared across inputs, which impacts
StructType::setName - if a name was reused across inputs, it would get
renamed during construction of the struct type, leading to tricky to
diagnose confusion.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list