[all-commits] [llvm/llvm-project] 80855e: [SampleFDO] Extend the function base name max size...

Lei Wang via All-commits all-commits at lists.llvm.org
Wed Apr 16 13:12:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80855eb6f11b06c194939eb305761eb2b62822f9
      https://github.com/llvm/llvm-project/commit/80855eb6f11b06c194939eb305761eb2b62822f9
  Author: Lei Wang <wlei at fb.com>
  Date:   2025-04-16 (Wed, 16 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleProfileMatcher.cpp

  Log Message:
  -----------
  [SampleFDO] Extend the function base name max size (#135863)

The function base name could be way long which overflows and leads to a
crash. Update to extend the max size.

Also changed to use heap allocation( `std::vector<char>` ) to avoid
stack overflow.



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