[all-commits] [llvm/llvm-project] 71d2fa: [ubsan-minimal] Switch to weak symbols for callbac...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Sat Dec 14 17:45:36 PST 2024


  Branch: refs/heads/users/aaupov/spr/boltnfc-speedup-merge-fdata
  Home:   https://github.com/llvm/llvm-project
  Commit: 71d2fa7988f4ce4647b6ed387cf5b51dafa11e4c
      https://github.com/llvm/llvm-project/commit/71d2fa7988f4ce4647b6ed387cf5b51dafa11e4c
  Author: Kirill Stoimenov <87100199+kstoimenov at users.noreply.github.com>
  Date:   2024-12-13 (Fri, 13 Dec 2024)

  Changed paths:
    M compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
    A compiler-rt/test/ubsan_minimal/TestCases/override-callback.c

  Log Message:
  -----------
  [ubsan-minimal] Switch to weak symbols for callbacks to allow overriding in client code (#119242)


  Commit: ecdf0dac565f750376f65f93b5bfd8b08d143116
      https://github.com/llvm/llvm-project/commit/ecdf0dac565f750376f65f93b5bfd8b08d143116
  Author: Chris White <chriswhiteiodev at gmail.com>
  Date:   2024-12-13 (Fri, 13 Dec 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/SDPatternMatch.h
    M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp

  Log Message:
  -----------
  [DAG] SDPatternMatch - Add m_ExtractElt and m_InsertElt matchers (#119430)

Resolves #118844


  Commit: 9bf79308b893e8998e7efd752835636038c2db4f
      https://github.com/llvm/llvm-project/commit/9bf79308b893e8998e7efd752835636038c2db4f
  Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
  Date:   2024-12-13 (Fri, 13 Dec 2024)

  Changed paths:
    M mlir/lib/Dialect/Arith/Transforms/IntRangeOptimizations.cpp
    M mlir/test/Dialect/Arith/int-range-narrowing.mlir

  Log Message:
  -----------
  [mlir][Arith] Let integer range narrowing handle negative values (#119642)

Update integer range narrowing to handle negative values.

The previous restriction to only narrowing known-non-negative values
wasn't needed, as both the signed and unsigned ranges represent bounds
on the values of each variable in the program ... except that one might
be more accurate than the other. So, if either the signed or unsigned
interpretetation of the inputs and outputs allows for integer narrowing,
the narrowing is permitted.

This commit also updates the integer optimization rewrites to preserve
the stae of constant-like operations and those that are narrowed so that
rewrites of other operations don't lose that range information.


  Commit: d0155789615c2272fbb304e34dc1df4d8d72f7cc
      https://github.com/llvm/llvm-project/commit/d0155789615c2272fbb304e34dc1df4d8d72f7cc
  Author: alx32 <103613512+alx32 at users.noreply.github.com>
  Date:   2024-12-13 (Fri, 13 Dec 2024)

  Changed paths:
    M llvm/include/llvm/DebugInfo/GSYM/GsymReader.h
    M llvm/lib/DebugInfo/GSYM/CallSiteInfo.cpp
    M llvm/lib/DebugInfo/GSYM/GsymReader.cpp
    A llvm/test/tools/llvm-gsymutil/ARM_AArch64/macho-gsym-merged-callsites-dsym.yaml

  Log Message:
  -----------
  [llvm-gsymutil] Fix dumping of call sites for merged functions (#119759)

Currently, when dumping the contents of a GSYM there are three issues:
- Callsite information is not displayed for merged functions - this is
because of a bug in `CallSiteInfoLoader::buildFunctionMap` where when
enumerating through `Func.MergedFunctions` - we enumerate by value
instead of by reference.
- There is no variable indent for printing callsite info - meaning that
when printing callsites for merged functions, the indent will be
different than the other info of the merged function. To address this we
add configurable indent for printing callsite info
- Callsite info is printed right after merged function info. Meaning
that if the merged function also has call site information, the parent's
callsite info will appear right after the merged function's callsite
info - leading to confusion. To address this we print the callsite info
first, then the merged functions info.

This change addresses all the above 3 issues. 
Example of old vs new:

<img width="1074" alt="image"
src="https://github.com/user-attachments/assets/d039ad69-fa79-4abb-9816-eda9cc2eda53"
/>


  Commit: f22cff7675f7f64aa52204f4426f5047cc75fbb9
      https://github.com/llvm/llvm-project/commit/f22cff7675f7f64aa52204f4426f5047cc75fbb9
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2024-12-13 (Fri, 13 Dec 2024)

  Changed paths:
    M lldb/source/DataFormatters/FormatterSection.cpp
    M lldb/test/API/functionalities/data-formatter/embedded-summary/TestEmbeddedTypeSummary.py
    M lldb/test/API/functionalities/data-formatter/embedded-summary/main.c

  Log Message:
  -----------
  [lldb] Support zero-padding in formatter sections (#119934)


  Commit: d73ef9749e72e59d1d34275e89d4d2fffddd3e8c
      https://github.com/llvm/llvm-project/commit/d73ef9749e72e59d1d34275e89d4d2fffddd3e8c
  Author: Nico Weber <thakis at chromium.org>
  Date:   2024-12-13 (Fri, 13 Dec 2024)

  Changed paths:
    M lld/COFF/Chunks.cpp
    M lld/COFF/Symbols.cpp
    M lld/COFF/Symbols.h
    M lld/test/COFF/reloc-discarded.s

  Log Message:
  -----------
  [lld/COFF] Demangle symbol name in discarded section relocation error message (#119726)


  Commit: 62f684c6d20ef1acfd68a8c0680ae0c4b989e6fb
      https://github.com/llvm/llvm-project/commit/62f684c6d20ef1acfd68a8c0680ae0c4b989e6fb
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-12-14 (Sat, 14 Dec 2024)

  Changed paths:
    M bolt/tools/merge-fdata/merge-fdata.cpp
    M compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
    A compiler-rt/test/ubsan_minimal/TestCases/override-callback.c
    M lld/COFF/Chunks.cpp
    M lld/COFF/Symbols.cpp
    M lld/COFF/Symbols.h
    M lld/test/COFF/reloc-discarded.s
    M lldb/source/DataFormatters/FormatterSection.cpp
    M lldb/test/API/functionalities/data-formatter/embedded-summary/TestEmbeddedTypeSummary.py
    M lldb/test/API/functionalities/data-formatter/embedded-summary/main.c
    M llvm/include/llvm/CodeGen/SDPatternMatch.h
    M llvm/include/llvm/DebugInfo/GSYM/GsymReader.h
    M llvm/lib/DebugInfo/GSYM/CallSiteInfo.cpp
    M llvm/lib/DebugInfo/GSYM/GsymReader.cpp
    A llvm/test/tools/llvm-gsymutil/ARM_AArch64/macho-gsym-merged-callsites-dsym.yaml
    M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
    M mlir/lib/Dialect/Arith/Transforms/IntRangeOptimizations.cpp
    M mlir/test/Dialect/Arith/int-range-narrowing.mlir

  Log Message:
  -----------
  Simplify optional handling

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/66f78b75f6d3...62f684c6d20e

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