[PATCH] D136778: [dexter-tests] Add attribute optnone to main function

Guozhi Wei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 14:00:51 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe5244706ec6a: [dexter-tests] Add attribute optnone to main function (authored by Carrot).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136778

Files:
  cross-project-tests/debuginfo-tests/dexter-tests/optnone-simple-functions.cpp


Index: cross-project-tests/debuginfo-tests/dexter-tests/optnone-simple-functions.cpp
===================================================================
--- cross-project-tests/debuginfo-tests/dexter-tests/optnone-simple-functions.cpp
+++ cross-project-tests/debuginfo-tests/dexter-tests/optnone-simple-functions.cpp
@@ -90,6 +90,7 @@
 // DexExpectWatchValue('test5_val', 7, from_line=ref('test5_start'), to_line=ref('test5_end'))
 // DexExpectWatchValue('c', 1, 5, from_line=ref('test5_start'), to_line=ref('test5_end'))
 
+__attribute__((optnone))
 int main() {
   int main_result = 0;
   // DexLabel('main_start')


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136778.470927.patch
Type: text/x-patch
Size: 617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221026/0ee32c79/attachment.bin>


More information about the llvm-commits mailing list