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

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 14 21:08:33 PDT 2021


dblaikie 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
+
----------------
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?


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