[all-commits] [llvm/llvm-project] 774f74: [mlir] Avoid ASan ODR violation in mlir-src-sharde...

Ayush Kumar Gaur via All-commits all-commits at lists.llvm.org
Thu Mar 5 02:43:09 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 774f740e0b5ff01fe8ad713300ba233f0a42262a
      https://github.com/llvm/llvm-project/commit/774f740e0b5ff01fe8ad713300ba233f0a42262a
  Author: Ayush Kumar Gaur <132849148+Ayush3941 at users.noreply.github.com>
  Date:   2026-03-05 (Thu, 05 Mar 2026)

  Changed paths:
    M mlir/tools/mlir-src-sharder/CMakeLists.txt

  Log Message:
  -----------
  [mlir] Avoid ASan ODR violation in mlir-src-sharder with LLVM dylib (#181045)

Build mlir-src-sharder via add_llvm_executable instead of add_tablegen
to avoid embedding a second copy of LLVM Support when linking against
libLLVM.so. Fixes ASan ODR violation for DisableABIBreakingChecks 

Tested with ASan + LLVM dylib configuration; tool runs without abort.
Fixes #180911



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