[PATCH] D33303: AsmPrinter: mark the beginning and the end of a function in verbose mode

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 16:39:39 PDT 2017


thegameg created this revision.
Herald added subscribers: javed.absar, rengolin, aemerson.

Annotate the output with `-- Begin func_name` and ` -- End func_name` if verbose mode is enabled.

This is particularly useful when using `utils/abtest/abtest.py`, which we used to annotate using `utils/abtest/mark_aarch64fns.py` and `utils/abtest/mark_armfns.py`, which did not work for internal functions.

- Fixed some ambiguous tests.
- Fixed `abtest.py` to use the new markers.
- Removed old marking scripts.
- Add AArch64 test.


https://reviews.llvm.org/D33303

Files:
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  test/CodeGen/AArch64/arm64-misched-multimmo.ll
  test/CodeGen/AArch64/asm-print-comments.ll
  test/CodeGen/ARM/fastisel-thumb-litpool.ll
  test/CodeGen/ARM/ldrd.ll
  test/CodeGen/X86/fast-isel-select-cmp.ll
  test/CodeGen/XCore/epilogue_prologue.ll
  utils/abtest/abtest.py
  utils/abtest/mark_aarch64fns.py
  utils/abtest/mark_armfns.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33303.99364.patch
Type: text/x-patch
Size: 13541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170517/fb2e1d81/attachment.bin>


More information about the llvm-commits mailing list