[PATCH] D134282: [CGP] Add generic TargetLowering::shouldAlignPointerArgs() implementation
Jake Egan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 17 13:29:13 PST 2023
Jake-Egan added a comment.
This runs into the error `The symbol .rodata.str1.1L...str is not defined.` if we specify an optimization flag greater than 0.
`clang++ -O1 -c foo.cc`
#include <string>
namespace benchmark {
class State {
public:
void SkipWithError(char *);
};
} // benchmark
struct a {
std::string b;
};
int c(char *, std::initializer_list< a >);
void e(benchmark::State f) { f.SkipWithError("error message"); }
int g = c("", {{"error message"}});
If it's too difficult to debug this test case without an AIX machine please let me know
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134282/new/
https://reviews.llvm.org/D134282
More information about the llvm-commits
mailing list