[PATCH] D16820: Implement common symbol size calculation in llvm-size

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 14:30:45 PST 2016


rafael added a subscriber: rafael.

================
Comment at: test/tools/llvm-size/basic.test:14
@@ -13,1 +13,3 @@
 RUN: llvm-size -B %p/Inputs/1.o | FileCheck --check-prefix="BSD" %s
+RUN: llvm-size -A -common %p/Inputs/1.o | FileCheck --check-prefix="SYSVCOMM" %s
+RUN: llvm-size -B -common %p/Inputs/1.o | FileCheck --check-prefix="BSDCOMM" %s
----------------
It is really easy to create common symbols with a given size from assembly. Please use llvm-mc instead of checking in a binary.


Repository:
  rL LLVM

http://reviews.llvm.org/D16820





More information about the llvm-commits mailing list