[PATCH] D44349: [WebAssembly] Verify contents of relocations target before writing in

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 9 21:28:24 PST 2018


sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff, jfb.

Verify that the location where a relocation is about the be
applied contains the expected existing value.

This is essentially a sanity check to catch bugs in the compiler
and the linker.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D44349

Files:
  wasm/InputChunks.cpp
  wasm/InputFiles.cpp
  wasm/InputFiles.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44349.137896.patch
Type: text/x-patch
Size: 6394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180310/2d153ae3/attachment.bin>


More information about the llvm-commits mailing list