[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
  		dumpMCExpr: 		Symbol: $Ss10_ArrayBodyVMf
  		dumpMCExpr: 		Constant: 4


More information about the llvm-commits mailing list