[all-commits] [llvm/llvm-project] 78a784: [asan] Emit .size directive for global object size...

Alex Brachet via All-commits all-commits at lists.llvm.org
Thu Apr 21 13:47:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78a784bea443cdcecf894155ab37893d7a8e8332
      https://github.com/llvm/llvm-project/commit/78a784bea443cdcecf894155ab37893d7a8e8332
  Author: Alex Brachet <abrachet at google.com>
  Date:   2022-04-21 (Thu, 21 Apr 2022)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    A llvm/test/CodeGen/X86/explicit-size-metadata.ll
    M llvm/test/Instrumentation/AddressSanitizer/adaptive_global_redzones.ll
    M llvm/test/Instrumentation/AddressSanitizer/debug-info-global-var.ll
    A llvm/test/Verifier/explicit_size.ll

  Log Message:
  -----------
  [asan] Emit .size directive for global object size before redzone

This emits an `st_size` that represents the actual useable size of an object before the redzone is added.

Reviewed By: vitalybuka, MaskRay, hctim

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




More information about the All-commits mailing list