<commit_before>// RUN: %clang_cc1 -triple x86_64-apple-darwin -O0 -S %s -o %t.s
// RUN: FileCheck --input-file=%t.s %s

int foo() __attribute__((aligned(1024)));
int foo() { }

// CHECK:.align 10, 0x90
// CHECK:.globl __Z3foov
// CHECK:__Z3foov:


class C {
  virtual void bar1() __attribute__((aligned(1)));
  virtual void bar2() __attribute__((aligned(2)));
  virtual void bar3() __attribute__((aligned(1024)));
} c;

// CHECK:.align 1, 0x90
// CHECK-NEXT:.globl __ZN1CC1Ev

void C::bar1() { }

// CHECK:.align 1, 0x90
// CHECK-NEXT:.globl __ZN1C4bar1Ev
// CHECK-NEXT:__ZN1C4bar1Ev:


void C::bar2() { }

// CHECK:.align 1, 0x90
// CHECK-NEXT:.globl __ZN1C4bar2Ev
// CHECK-NEXT:__ZN1C4bar2Ev:


void C::bar3() { }

// CHECK:.align 10, 0x90
// CHECK-NEXT:.globl __ZN1C4bar3Ev
// CHECK-NEXT:__ZN1C4bar3Ev:<commit_msg>Fix attr.cpp by not checking the generated assembler output.<commit_after>// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s

// CHECK: define i32 @_Z3foov() nounwind align 1024
int foo() __attribute__((aligned(1024)));
int foo() { }

class C {
  virtual void bar1() __attribute__((aligned(1)));
  virtual void bar2() __attribute__((aligned(2)));
  virtual void bar3() __attribute__((aligned(1024)));
} c;

// CHECK: define void @_ZN1C4bar1Ev(%class.C* %this) nounwind align 2
void C::bar1() { }

// CHECK: define void @_ZN1C4bar2Ev(%class.C* %this) nounwind align 2
void C::bar2() { }

// CHECK: define void @_ZN1C4bar3Ev(%class.C* %this) nounwind align 1024
void C::bar3() { }
{'fraction_non_alphanumeric': 0.17770491803278687, 'fraction_numerical': 0.07147540983606557, 'mean_word_length': 4.155405405405405, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3795146', 'n_tokens_mistral': 676, 'n_tokens_neox': 610, 'n_words': 143}