[PATCH] D52600: [LLD] [COFF] In MinGW mode, ignore relocations against a discarded section

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 2 11:32:18 PDT 2018


mstorsjo added a comment.

In https://reviews.llvm.org/D52600#1251446, @rnk wrote:

> :( This makes me very sad. GCC shouldn't generate broken code.


Yeah, this one is rather terrifying... FWIW, this case can be reproduced with a pretty small test snippet: http://martin.st/temp/jumptable.cpp, `x86_64-w64-mingw32-g++ jumptable.cpp -o - -O2 -S`


Repository:
  rL LLVM

https://reviews.llvm.org/D52600





More information about the llvm-commits mailing list