[PATCH] D92073: [CodeGen] Add text section prefix for COFF object file

TaoPan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 1 17:54:49 PST 2020


TaoPan added inline comments.


================
Comment at: llvm/test/CodeGen/X86/text-section-prefix.ll:1
+; RUN: llc -mtriple x86_64-linux-gnu -function-sections %s -o - | FileCheck %s --check-prefix=SECTION-HOT-ELF
+; RUN: llc -mtriple x86_64-linux-gnu -function-sections %s -o - | FileCheck %s --check-prefix=SECTION-UNLIKELY-ELF
----------------
pengfei wrote:
> Maybe better to put the test in `Transforms/CodeGenPrepare/X86`
Sorry! I didn't note and reply this comment previously.
The reason I didn't put the test in Transforms/CodeGenPrepare/X86 is the key modification is in TargetLoweringObjectFile of **CodeGen**, not in CodeGenPrepare.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92073



More information about the llvm-commits mailing list