[PATCH] D142046: [BPF][clang] Ignore stack protector options for BPF target

Douglas Yung via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 21 20:52:49 PST 2023


dyung added a comment.

Hi, our internal release build buildbot seems to have issues with this test. It seems you are expected the following function declaration in the emitted IR:

  define dso_local void @_Z5test1PKc(ptr noundef %msg) #0 !dbg !19 {

But in a release build, it becomes:

  define dso_local void @_Z5test1PKc(ptr noundef %0) #0 !dbg !19 {

Note that %msg became %0. Can you fix the test so that it works in release builds as well?

Godbolt link: https://godbolt.org/z/E5zbM4chc


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142046



More information about the cfe-commits mailing list