[all-commits] [llvm/llvm-project] c196e2: [PowerPC] Clear the set of symbols that need to be...
Nemanja Ivanovic via All-commits
all-commits at lists.llvm.org
Wed Apr 15 13:42:55 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c196e2ca48b739cae7d83e1ee0136f426f60aa53
https://github.com/llvm/llvm-project/commit/c196e2ca48b739cae7d83e1ee0136f426f60aa53
Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
Date: 2020-04-15 (Wed, 15 Apr 2020)
Changed paths:
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
Log Message:
-----------
[PowerPC] Clear the set of symbols that need to be updated in MCTargetStreamer
We have added code to correct the .localentry values on assignments. However, we
never clear the set so presumably it will still contain the (now dangling)
MCSymbol pointers across a call to finish() and reset() in the streamer.
This is based on my speculation that it is the reason we are getting
segmentation faults mentioned in https://bugs.llvm.org/show_bug.cgi?id=45366
Fixes: https://bugs.llvm.org/show_bug.cgi?id=45366
Differential revision: https://reviews.llvm.org/D78196
More information about the All-commits
mailing list