[all-commits] [llvm/llvm-project] e52447: [dexter-tests] Add attribute optnone to main function
weiguozhi via All-commits
all-commits at lists.llvm.org
Wed Oct 26 14:00:44 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e5244706ec6af04d3ac07e84a52782d6d172f663
https://github.com/llvm/llvm-project/commit/e5244706ec6af04d3ac07e84a52782d6d172f663
Author: Guozhi Wei <carrot at google.com>
Date: 2022-10-26 (Wed, 26 Oct 2022)
Changed paths:
M cross-project-tests/debuginfo-tests/dexter-tests/optnone-simple-functions.cpp
Log Message:
-----------
[dexter-tests] Add attribute optnone to main function
The test case optnone-simple-functions.cpp is expected to be compiled
unoptimized even under -O2 because of attribute optnone. But this attribute is
missed for main function, and caused the fail in
https://lab.llvm.org/buildbot/#/builders/217/builds/14046 when it triggered
optimizations. This patch fixes that by adding attribute optnone to main
function.
Differential Revision: https://reviews.llvm.org/D136778
More information about the All-commits
mailing list