[PATCH] D103928: [IR] make -warn-frame-size into a module attr

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 15 14:23:44 PDT 2021


nickdesaulniers added inline comments.


================
Comment at: llvm/test/Linker/warn-stack-frame.ll:6
+
+; CHECK-MISMATCH: error: linking module flags 'warn-stack-size': IDs have conflicting values
+
----------------
dblaikie wrote:
> If you like, you could make this a function attribute instead, that way it'd be compatible with LTO even when the value varies between compilations?
Yep, this is already causing problems for us, so I will fix that ASAP: https://github.com/ClangBuiltLinux/linux/issues/1395.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103928/new/

https://reviews.llvm.org/D103928



More information about the cfe-commits mailing list