[PATCH] D32793: [ELF] - Don't segfault when assigning non-calculatable absolute symbol value.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 5 14:18:05 PDT 2017
ruiu added inline comments.
================
Comment at: ELF/LinkerScript.h:45
bool ForceAbsolute;
+ bool CanCalculateAbs = true;
----------------
It failed with a segfault because OutSec is null if no address is assigned. So why do you need a new member variable? It seems you can check if OutSec is null.
https://reviews.llvm.org/D32793
More information about the llvm-commits
mailing list