[PATCH] D76752: [WebAssembly] Move event section before global section
    Thomas Lively via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Mar 25 11:21:12 PDT 2020
    
    
  
tlively accepted this revision.
tlively added a comment.
This revision is now accepted and ready to land.
LGTM!
================
Comment at: llvm/lib/Object/WasmObjectFile.cpp:1654
+         WASM_SEC_ORDER_TARGET_FEATURES}, // WASM_SEC_ORDER_PRODUCERS,
+        {WASM_SEC_ORDER_TARGET_FEATURES}  // WASM_SEC_ORDER_TARGET_FEATURES
 };
----------------
aheejin wrote:
> Hmm, clang-format makes this look ugly, and I think I remember you decided not to format this code intentionally before, but having consistent style throughtout wasm code is also better. WDYT? @tlively 
Yeah, I think I did intentionally exclude this code from styling before, but I'd be ok letting clang-format style it now. I think it would look better if we move the inline comments to their own lines.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76752/new/
https://reviews.llvm.org/D76752
    
    
More information about the llvm-commits
mailing list