[PATCH] D42564: [WebAssembly] ignore non-SymbolRef MCExpr.

Patrick Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 22:15:32 PST 2018


patcheng added a comment.

I rolled back the changes to ignore non-MCSymbolExpr.

Here is a dump of the MCExpr that I was encountering around line 1260 (in the for loop that's handling weak aliases.

  $Ss10_ArrayBodyVN : isExternal: true isInSection: true isRegistered: true isUsed: true isVariable: true
  	dumpMCExpr: 	Binary: opCode: Add
  	LHS
  		dumpMCExpr: 		Symbol: $Ss10_ArrayBodyVMf
  	RHS
  		dumpMCExpr: 		Constant: 4




https://reviews.llvm.org/D42564





More information about the llvm-commits mailing list