[MC] Delete an overload of MCExpr::evaluateKnownAbsolute and its associated hack
authorFangrui Song <maskray@google.com>
Tue, 20 Aug 2019 07:42:04 +0000 (07:42 +0000)
committerFangrui Song <maskray@google.com>
Tue, 20 Aug 2019 07:42:04 +0000 (07:42 +0000)
commit2682340cdf91fde7cc581da6479337fc322ae444
tree3a064b321d64d2cdaa97a038a25ee9752e13dfc4
parent9e8b011195a3602dff7193f71527697b121fb551
[MC] Delete an overload of MCExpr::evaluateKnownAbsolute and its associated hack

The hack dated back to 2010 (r121076) and was documented by r122144:

  // FIXME: The use if InSet = Addrs is a hack. Setting InSet causes us
  // absolutize differences across sections and that is what the MachO writer
  // uses Addrs for.

llvm-svn: 369337
llvm/include/llvm/MC/MCExpr.h
llvm/lib/MC/MCExpr.cpp