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

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 17:40:32 PDT 2016


ruiu added a comment.

Ah, thank you for finding this one! I quickly took a look when I updated the bug but couldn't figure out what was wrong.

I'd like to keep the parser function in DriverUtils. I'd define a new class to own ELFOptTable in DriverUtils.


http://reviews.llvm.org/D18167





More information about the llvm-commits mailing list