[all-commits] [llvm/llvm-project] 68cd47: [HWASan] Clean up hwasan_symbolize.

Florian Mayer via All-commits all-commits at lists.llvm.org
Fri May 6 15:46:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68cd47e0caffcf0adcf3e519652e63b51fa45996
      https://github.com/llvm/llvm-project/commit/68cd47e0caffcf0adcf3e519652e63b51fa45996
  Author: Florian Mayer <fmayer at google.com>
  Date:   2022-05-06 (Fri, 06 May 2022)

  Changed paths:
    M compiler-rt/lib/hwasan/scripts/hwasan_symbolize

  Log Message:
  -----------
  [HWASan] Clean up hwasan_symbolize.

The globals are better expressed as members of the Symbolizer, and all
functions operating on it should be methods instead.

Also using the standard idiom of wrapping the main code in
`if __name__ == '__main__'`.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D125032




More information about the All-commits mailing list