[PATCH] D18167: [ELF/Driver] Avoid a reference to the ELFOptTable after it has gone out of scope

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 17:33:50 PDT 2016


filcab created this revision.
filcab added reviewers: ruiu, rafael.
filcab added a subscriber: llvm-commits.

This solves PR26908. ASan detects it, but not by default.
It needs ASAN_OPTIONS=detect_stack_use_after_return=true

http://reviews.llvm.org/D18167

Files:
  ELF/Driver.cpp
  ELF/Driver.h
  ELF/DriverUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18167.50684.patch
Type: text/x-patch
Size: 6459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160315/3c235bc2/attachment.bin>


More information about the llvm-commits mailing list