[PATCH] D40915: Always evaluate the second argument for CHECK() lazily.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 12:40:43 PST 2017


ruiu created this revision.
Herald added subscribers: aheejin, sbc100, emaste.

This patch is to rename check CHECK and make it a C macro, so that
we can evaluate the second argument lazily.


https://reviews.llvm.org/D40915

Files:
  lld/COFF/Chunks.cpp
  lld/COFF/Driver.cpp
  lld/COFF/DriverUtils.cpp
  lld/COFF/InputFiles.cpp
  lld/COFF/LTO.cpp
  lld/COFF/Writer.cpp
  lld/ELF/Driver.cpp
  lld/ELF/InputFiles.cpp
  lld/ELF/InputFiles.h
  lld/ELF/InputSection.cpp
  lld/ELF/LTO.cpp
  lld/ELF/Relocations.cpp
  lld/include/lld/Common/ErrorHandler.h
  lld/wasm/InputFiles.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40915.125782.patch
Type: text/x-patch
Size: 28699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171206/9324b7fc/attachment.bin>


More information about the llvm-commits mailing list